home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / gnupltpm.zip / GNUPLOT.GIH < prev    next >
Text File  |  1993-03-08  |  90KB  |  2,392 lines

  1. ?
  2.  GNUPLOT is a command-driven interactive function plotting program. It
  3.  is case sensitive (commands and function names written in lowercase
  4.  are not the same as those written in CAPS). All command names may be
  5.  abbreviated, as long as the abbreviation is not ambiguous. Any number
  6.  of commands may appear on a line, separated by semicolons (;).
  7.  Strings are indicated with quotes.  They may be either single or double
  8.  quotation marks, e.g.,
  9.  
  10.           load "filename"
  11.           cd 'dir'
  12.  
  13.  Any command-line arguments are assumed to be names of files containing 
  14.  GNUPLOT commands, with the exception of standard X11 arguments, which
  15.  are processed first. Each file is loaded with the `load` command, in the
  16.  order specified. GNUPLOT exits after the last file is processed.  When
  17.  no load files are named, gnuplot enters into an interactive mode.
  18.  
  19.  Commands may extend over several input lines, by ending each 
  20.  line but the last with a backslash (\). The backslash must be the LAST
  21.  character on each line. The effect is as if the backslash and newline
  22.  were not there. That is, no white space is implied, nor is a comment
  23.  terminated. Therefore, commenting out a continued line comments out
  24.  the entire command (see `comment`).
  25.  
  26.  In this documentation, curly braces ({}) denote optional arguments to
  27.  many commands, and a vertical bar (|) separates mutually exclusive
  28.  choices.  GNUPLOT keywords or help topics are indicated by backquotes
  29.  or `boldface` (where available).  Angle brackets (<>) are used to mark
  30.  replaceable tokens.
  31.  
  32.  For help on any topic, type `help` followed by the name of the topic.
  33.  
  34.  The new GNUPLOT user should begin by reading about the `plot`
  35.  command (type `help plot`).
  36. ?cd
  37.  The `cd` command changes the working directory.
  38.  
  39.  Syntax:
  40.          cd "<directory-name>"
  41.  
  42.  The directory name must be enclosed in quotes.
  43.  
  44.  Examples:
  45.          cd 'subdir'
  46.          cd ".."
  47. ?clear
  48.  The `clear` command erases the current screen or output device as
  49.  specified by `set output`. This usually generates a formfeed on
  50.  hardcopy devices. Use `set terminal` to set the device type.
  51. ?line-editing
  52. ?editing
  53. ?history
  54.  The Unix and IBM PC versions of GNUPLOT support command-line editing.
  55.  Also, a history mechanism allows previous commands to be edited, and
  56.  re-executed. After the command line has been edited, a newline or
  57.  carriage return will enter the entire line regardless of where the
  58.  cursor is positioned.
  59.  
  60.  The editing commands are as follows:
  61.  
  62.  `Line editing`:
  63.  
  64.  ^B moves back a single character.
  65.  ^F moves forward a single character.
  66.  ^A moves to the beginning of the line.
  67.  ^E moves to the end of the line.
  68.  ^H and DEL delete the previous character.
  69.  ^D deletes the current character.
  70.  ^K deletes from current position to the end of line.
  71.  ^L,^R redraws line in case it gets trashed.
  72.  ^U deletes the entire line.
  73.  ^W deletes the last word.
  74.  
  75.  `History`:
  76.  
  77.  ^P moves back through history.
  78.  ^N moves forward through history.
  79.  
  80.  On the IBM PC the use of a TSR program such as DOSEDIT or CED may be
  81.  desired for line editing. For such a case GNUPLOT may be compiled with
  82.  no line editing capability (default makefile setup). Set READLINE in the
  83.  makefile and add readline.obj to the link file if GNUPLOT line editing
  84.  is to be used for the IBM PC. The following arrow keys may be used
  85.  on the IBM PC version if readline is used:
  86.  
  87.  Left  Arrow     - same as ^B.
  88.  Right Arrow     - same as ^F.
  89.  Ctl Left  Arrow - same as ^A.
  90.  Ctl Right Arrow - same as ^E.
  91.  Up    Arrow     - same as ^P.
  92.  Down  Arrow     - same as ^N.
  93.  (The readline function in gnuplot is not the same as the readline used
  94.  in GNU BASH and GNU EMACS.  It is somewhat compatible however.) 
  95. ?comments
  96.  Comments are supported as follows: a # may appear in most places in a line
  97.  and GNUPLOT will ignore the rest of the line. It will not have this
  98.  effect inside quotes, inside numbers (including complex numbers), inside
  99.  command substitutions, etc. In short, it works anywhere it makes sense
  100.  to work.
  101. ?environment
  102.  A number of shell environment variables are understood by GNUPLOT.
  103.  None of these are required, but may be useful.
  104.  
  105.  If GNUTERM is defined, it is used as the name of the terminal type to
  106.  be used. This overrides any terminal type sensed by GNUPLOT on start
  107.  up, but is itself overridden by the .gnuplot (or equivalent) start-up
  108.  file (see `start-up`), and of course by later explicit changes.
  109.  
  110.  On Unix, AmigaDOS, and MS-DOS, GNUHELP may be defined to be the pathname
  111.  of the HELP file (gnuplot.gih).
  112.  
  113.  On VMS, the symbol GNUPLOT$HELP should be defined as the name of 
  114.  the help library for GNUPLOT.
  115.  
  116.  On Unix, HOME is used as the name of a directory to search for 
  117.  a .gnuplot file if none is found in the current directory.
  118.  On AmigaDOS and MS-DOS, GNUPLOT is used. On VMS, SYS$LOGIN: is used.
  119.  See help start-up.
  120.  
  121.  On Unix, PAGER is used as an output filter for help messages.
  122.  
  123.  On Unix and AmigaDOS, SHELL is used for the `shell` command. On MS-DOS,
  124.  COMSPEC is used for the `shell` command.
  125.  
  126.  On AmigaDOS, GNUFONT is used for the screen font.  For example:
  127.  "setenv GNUFONT sapphire/14".
  128.  
  129.  On MS-DOS, if the BGI interface is used, the variable `BGI` is used to point 
  130.  to the full path to the BGI drivers directory. Furthermore SVGA is used to
  131.  name the Super VGA BGI driver in 800x600 res., and its mode of operation
  132.  as 'Name.Mode'.
  133.  For example, if the Super VGA driver is C:\TC\BGI\SVGADRV.BGI and mode 3 is
  134.  used for 800x600 res., then: 'set BGI=C:\TC\BGI' and 'set SVGA=SVGADRV.3'.
  135. ?exit
  136. ?quit
  137.  The commands `exit` and `quit` and the END-OF-FILE character
  138.  will exit GNUPLOT. All these commands will clear the output device
  139.  (as the `clear` command does) before exiting.
  140. ?expressions
  141.  In general, any mathematical expression accepted by C, FORTRAN,
  142.  Pascal, or BASIC is valid. The precedence of these operators is
  143.  determined by the specifications of the C programming language.
  144.  White space (spaces and tabs) is ignored inside expressions.
  145.  
  146.  Complex constants may be expressed as the {<real>,<imag>}, where <real>
  147.  and <imag> must be numerical constants. For example, {3,2}
  148.  represents 3 + 2i; {0,1} represents `i` itself. The curly braces 
  149.  are explicitly required here.
  150. ?expressions functions
  151. ?functions
  152.  The functions in GNUPLOT are the same as the corresponding functions
  153.  in the Unix math library, except that all functions accept integer,
  154.  real, and complex arguments, unless otherwise noted. The `sgn`
  155.  function is also supported, as in BASIC.
  156. ?expressions functions abs
  157. ?functions abs
  158. ?abs
  159.  The `abs` function returns the absolute value of its argument. The
  160.  returned value is of the same type as the argument.
  161.  
  162.  For complex arguments, abs(x) is defined as the length of x in the
  163.  complex plane [i.e.,  sqrt(real(x)**2 + imag(x)**2) ].
  164. ?expressions functions acos
  165. ?functions acos
  166. ?acos
  167.  The `acos` function returns the arc cosine (inverse cosine) of its
  168.  argument. `acos` returns its argument in radians.
  169. ?expressions functions arg
  170. ?functions arg
  171. ?arg
  172.  The `arg` function returns the phase of a complex number, in radians.
  173. ?expressions functions asin
  174. ?functions asin
  175. ?asin
  176.  The `asin` function returns the arc sin (inverse sin) of its argument.
  177.  `asin` returns its argument in radians.
  178. ?expressions functions atan
  179. ?functions atan
  180. ?atan
  181.  The `atan` function returns the arc tangent (inverse tangent) of its
  182.  argument. `atan` returns its argument in radians.
  183. ?expressions functions besj0
  184. ?functions besj0
  185. ?besj0
  186.  The `besj0` function returns the j0th Bessel function of its argument.
  187.  `besj0` expects its argument to be in radians.
  188. ?expressions functions besj1
  189. ?functions besj1
  190. ?besj1
  191.  The `besj1` function returns the j1st Bessel function of its argument.
  192.  `besj1` expects its argument to be in radians.
  193. ?expressions functions besy0
  194. ?functions besy0
  195. ?besy0
  196.  The `besy0` function returns the y0th Bessel function of its argument.
  197.  `besy0` expects its argument to be in radians.
  198. ?expressions functions besy1
  199. ?functions besy1
  200. ?besy1
  201.  The `besy1` function returns the y1st Bessel function of its argument.
  202.  `besy1` expects its argument to be in radians.
  203. ?expressions functions ceil
  204. ?functions ceil
  205. ?ceil
  206.  The `ceil` function returns the smallest integer that is not less than its
  207.  argument. For complex numbers, `ceil` returns the smallest integer
  208.  not less than the real part of its argument.
  209. ?expressions functions cos
  210. ?functions cos
  211. ?cos
  212.  The `cos` function returns the cosine of its argument. `cos` expects its
  213.  argument to be in radians.
  214. ?expressions functions cosh
  215. ?functions cosh
  216. ?cosh
  217.  The `cosh` function returns the hyperbolic cosine of its argument.
  218.  `cosh` expects its argument to be in radians.
  219. ?expressions functions exp
  220. ?functions exp
  221. ?exp
  222.  The `exp` function returns the exponential function of its argument
  223.  (`e` raised to the power of its argument).
  224. ?expressions functions floor
  225. ?functions floor
  226. ?floor
  227.  The `floor` function returns the largest integer not greater than its
  228.  argument. For complex numbers, `floor` returns the largest
  229.  integer not greater than the real part of its argument.
  230. ?expressions functions gamma
  231. ?functions gamma
  232. ?gamma
  233.  The `gamma` function returns the gamma function of the real part of
  234.  its argument. For integer n, gamma(n+1) = n! .
  235.  If the argument is a complex value, the imaginary component is ignored.
  236. ?expressions functions imag
  237. ?functions imag
  238. ?imag
  239.  The `imag` function returns the imaginary part of its argument as a
  240.  real number.
  241. ?expressions functions int
  242. ?functions int
  243. ?int
  244.  The `int` function returns the integer part of its argument, truncated
  245.  toward zero.
  246. ?expressions functions log
  247. ?functions log
  248. ?log
  249.  The `log` function returns the natural logarithm (base `e`) of its
  250.  argument.
  251. ?expressions functions log10
  252. ?functions log10
  253. ?log10
  254.  The `log10` function returns the logarithm (base 10) of its argument.
  255. ?expressions functions real
  256. ?functions real
  257. ?real
  258.  The `real` function returns the real part of its argument.
  259. ?expressions functions sgn
  260. ?functions sgn
  261. ?sgn
  262.  The `sgn` function returns 1 if its argument is positive, -1 if its
  263.  argument is negative, and 0 if its argument is 0. If the argument
  264.  is a complex value, the imaginary component is ignored.
  265. ?expressions functions sin
  266. ?functions sin
  267. ?sin
  268.  The `sin` function returns the sine of its argument. `sin` expects its
  269.  argument to be in radians.
  270. ?expressions functions sinh
  271. ?functions sinh
  272. ?sinh
  273.  The `sinh` function returns the hyperbolic sine of its argument. `sinh`
  274.  expects its argument to be in radians.
  275. ?expressions functions sqrt
  276. ?functions sqrt
  277. ?sqrt
  278.  The `sqrt` function returns the square root of its argument.
  279. ?expressions functions tan
  280. ?functions tan
  281. ?tan
  282.  The `tan` function returns the tangent of its argument. `tan` expects
  283.  its argument to be in radians.
  284. ?expressions functions tanh
  285. ?functions tanh
  286. ?tanh
  287.  The `tanh` function returns the hyperbolic tangent of its argument.
  288.  `tanh` expects its argument to be in radians.
  289. ?expressions operators
  290. ?operators
  291.  The operators in GNUPLOT are the same as the corresponding operators
  292.  in the C programming language, except that all operators accept
  293.  integer, real, and complex arguments, unless otherwise noted.
  294.  The ** operator (exponentiation) is supported, as in FORTRAN.
  295.  
  296.  Parentheses may be used to change order of evaluation.
  297. ?expressions operators binary
  298. ?operators binary
  299. ?binary
  300.  The following is a list of all the binary operators and their
  301.  usages:
  302.  
  303.   Symbol      Example      Explanation
  304.    **          a**b          exponentiation
  305.    *           a*b           multiplication
  306.    /           a/b           division
  307.    %           a%b         * modulo
  308.    +           a+b           addition
  309.    -           a-b           subtraction
  310.    ==          a==b          equality
  311.    !=          a!=b          inequality
  312.    &           a&b         * bitwise AND
  313.    ^           a^b         * bitwise exclusive OR
  314.    |           a|b         * bitwise inclusive OR
  315.    &&          a&&b        * logical AND
  316.    ||          a||b        * logical OR
  317.    ?:          a?b:c       * ternary operation
  318.  
  319.  (*) Starred explanations indicate that the operator requires
  320.  integer arguments.
  321.  
  322.  Logical AND (&&) and OR (||) short-circuit the way they do in C.
  323.  That is, the second && operand is not evaluated if the first is
  324.  false; the second || operand is not evaluated if the first is true.
  325.  
  326.  The ternary operator evaluates its first argument (a). If it is
  327.  true (non-zero) the second argument (b) is evaluated and returned,
  328.  otherwise the third argument (c) is evaluated and returned.
  329. ?expressions operators unary
  330. ?operators unary
  331. ?unary
  332.  The following is a list of all the unary operators and their
  333.  usages:
  334.  
  335.   Symbol     Example      Explanation
  336.    -           -a          unary minus
  337.    ~           ~a        * one's complement
  338.    !           !a        * logical negation
  339.    !           a!        * factorial
  340.  
  341.  (*) Starred explanations indicate that the operator requires an
  342.  integer argument.
  343.  
  344.  The factorial operator returns a real number to allow a greater range.
  345. ?help
  346.  The `help` command displays on-line help. To specify information on a
  347.  particular topic use the syntax:
  348.  
  349.          help {<topic>}
  350.  
  351.  If <topic> is not specified, a short message is printed about
  352.  GNUPLOT. After help for the requested topic is given, help for a
  353.  subtopic may be requested by typing its name, extending the help
  354.  request. After that subtopic has been printed, the request may be
  355.  extended again, or simply pressing return goes back one level to the
  356.  previous topic. Eventually, the GNUPLOT command line will return.
  357. ?load
  358.  The `load` command executes each line of the specified input file as
  359.  if it had been typed in interactively. Files created by the `save`
  360.  command can later be `load`ed. Any text file containing valid
  361.  commands can be created and then executed by the `load` command.
  362.  Files being `load`ed may themselves contain `load` commands. See
  363.  `comment` for information about comments in commands.
  364.  
  365.  The `load` command must be the last command on the line.
  366.  
  367.  Syntax:
  368.          load "<input-file>"
  369.  
  370.  The name of the input file must be enclosed in quotes.
  371.  
  372.  Examples:
  373.  
  374.          load 'work.gnu'
  375.          load "func.dat"
  376.  
  377.  The `load` command is performed implicitly on any file names given as
  378.  arguments to GNUPLOT. These are loaded in the order specified, and
  379.  then GNUPLOT exits.
  380. ?pause
  381.  The `pause` command displays any text associated with the command and
  382.  then waits a specified amount of time or until the carriage return is
  383.  pressed.  `pause` is especially useful in conjunction with `load` files.
  384.  
  385.  Syntax:
  386.          pause <time> {"<string>"}
  387.  
  388.  <time> may be any integer constant or expression. Choosing -1 will
  389.  wait until a carriage return is hit, zero (0) won't pause at all, and
  390.  a positive integer will wait the specified number of seconds.
  391.  
  392.  Note: Since `pause` is not part of the plot it may interact with
  393.  different device drivers differently (depending upon how text and
  394.  graphics are mixed).
  395.  
  396.  Examples:
  397.          pause -1    # Wait until a carriage return is hit
  398.          pause 3     # Wait three seconds
  399.          pause -1  "Hit return to continue"
  400.          pause 10  "Isn't this pretty?  It's a cubic-spline."
  401.  
  402. ?plot
  403. ?splot
  404.  `plot` and `splot` are the primary commands of the program. They plot
  405.  functions and data in many, many ways. `plot` is used to plot 2-d
  406.  functions and data, while `splot` plots 3-d surfaces and data.
  407.  
  408.  Syntax:
  409.  
  410.          plot {ranges}  <function> {title} {style}
  411.                      {, <function> {title} {style}...}
  412.  
  413.          splot {ranges}  <function> {title} {style}
  414.                       {, <function> {title} {style}...}
  415.  
  416.  where <function> is either a mathematical expression, the name of a
  417.  data file enclosed in quotes, or a pair (`plot`) or triple (`splot`)
  418.  of mathematical expressions in the case of parametric functions.
  419.  User-defined functions and variables may also be defined here.
  420.  
  421.  `plot` and `splot` commands can be as simple as
  422.  
  423.          plot sin(x)
  424.  
  425.  and
  426.  
  427.          splot x * y
  428.  
  429.  or as complex as (!)
  430.  
  431.          plot [t=1:10] [-pi:pi*2] tan(t),"data.1" with lines,t**2 with points
  432. ?plot datafile
  433. ?plot data-file
  434. ?splot datafile
  435. ?splot data-file
  436. ?datafile
  437. ?data-file
  438. ?data
  439.  Discrete data contained in a file can displayed by specifying the
  440.  name of the data file (enclosed in quotes) on the `plot` or `splot`
  441.  command line. Data files should contain one data point per line.
  442.  Lines beginning with # (or ! on VMS) will be treated as comments
  443.  and ignored. For `plot`s, each data point represents an (x,y)
  444.  pair. For `splot`s, each point is an (x,y,z) triple. For `plot`s with
  445.  error bars (see `plot errorbars`), each data point is either
  446.  (x,y,ydelta) or (x,y,ylow,yhigh). In all cases, the numbers on each
  447.  line of a data file must be separated by blank space. This blank
  448.  space divides each line into columns.
  449.  
  450.  For `plot`s the x value may be omitted, and for `splot`s the x
  451.  and y values may be omitted. In either case the omitted values are
  452.  assigned the current coordinate number. Coordinate numbers start at 0
  453.  and are incremented for each data point read.
  454.  
  455.  To specify other formats, see `plot datafile using`.
  456.  
  457.  In the `plot` command, blank lines in the data file cause a break in
  458.  the plot. There will be no line drawn between the preceding and
  459.  following points if the plot style is `lines` or `linespoints` (see
  460.  `plot style`). This does not change the plot style, as would plotting
  461.  the data as separate curves.
  462.  
  463.  This example compares the data in the file population.dat to a
  464.  theoretical curve:
  465.  
  466.          pop(x) = 103*exp((1965-x)/10)
  467.          plot [1960:1990] 'population.dat', pop(x)
  468.  
  469.  The file population.dat might contain:
  470.  
  471.          # Gnu population in Antarctica since 1965
  472.          1965   103
  473.          1970   55
  474.          1975   34
  475.          1980   24
  476.          1985   10
  477.  
  478.  When a data file is plotted, `samples` and `iso_samples` are ignored.
  479.  Curves plotted using the `plot` command are automatically extended to
  480.  hold the entire curve. Similarly grid data plotted using the `splot`
  481.  command is automatically extended, using the assumption that isolines
  482.  are separated by blank lines (a line with only a CR/LF in it).
  483.  
  484.  Implicitly, there are two types of 3-d datafiles. If all the isolines
  485.  are of the same length, the data is assumed to be a grid data, i.e.,
  486.  the data has a grid topology. Cross isolines in the other parametric
  487.  direction (the ith cross isoline passes thru the ith point of all the
  488.  provided isolines) will also be drawn for grid data. (Note contouring
  489.  is available for grid data only.) If all the isolines are not of the
  490.  same length, no cross isolines will be drawn and contouring that data
  491.  is impossible.
  492.  
  493.  For splot if 3-d datafile and using format (see `splot datafile using`)
  494.  specify only z (height field), a non parametric mode must be specified.
  495.  If, on the other hand, x, y, and z are all specified, a parametric
  496.  mode should be selected (see `set parametric`) since data is defining a
  497.  parametric surface.
  498.  
  499.  A simple example of plotting a 3-d data file is
  500.  
  501.          set parametric
  502.          splot 'glass.dat'
  503.  
  504.  or
  505.  
  506.          set noparametric
  507.          splot 'datafile.dat'
  508.  
  509.  where the file datafile.dat might contain:
  510.  
  511.          # The valley of the Gnu.
  512.          10
  513.          10
  514.          10
  515.  
  516.          10
  517.          5
  518.          10
  519.  
  520.          10
  521.          1
  522.          10
  523.  
  524.          10
  525.          0
  526.          10
  527.  
  528.  Note datafile.dat defines a 4 by 3 grid ( 4 rows of 3 points each ).
  529.  Rows are separated by blank lines.
  530.  
  531.  On some computer systems with a popen function (UNIX), the datafile
  532.  can be piped through a shell command by starting the file name
  533.  with a '<'.  For example:
  534.  
  535.          pop(x) = 103*exp(x/10)
  536.          plot '< awk "{print $1-1965 $2}" population.dat', pop(x)
  537.  
  538.  would plot the same information as the first population example
  539.  but with years since 1965 as the x axis.
  540.  
  541.  For more information about 3-d plotting, see `splot`.
  542. ?plot datafile using
  543. ?plot data-file using
  544. ?splot datafile using
  545. ?splot data-file using
  546. ?using
  547.  The format of data within a file can be selected with the `using` 
  548.  option. An explicit scanf string can be used, or simpler column
  549.  choices can be made.
  550.  
  551.  Syntax:
  552.  
  553.          plot "datafile" { using { <ycol> |
  554.                                    <xcol>:<ycol> |
  555.                                    <xcol>:<ycol>:<ydelta> |
  556.                                    <xcol>:<ycol>:<ylow>:<yhigh> }
  557.                                  {"<scanf string>"} } ...
  558.  
  559.  and
  560.  
  561.          splot "datafile" { using { <xcol>:<ycol>:<zcol> | <zcol> }
  562.                                   {"<scanf string>"} } ...
  563.  
  564.  <xcol>, <ycol>, and <zcol> explicitly select the columns to plot from
  565.  a space or tab separated multicolumn data file. If only <ycol> is
  566.  selected for `plot`, <xcol> defaults to 1. If only <zcol> is selected
  567.  for `splot`, then only that column is read from the file. An <xcol> of
  568.  0 forces <ycol> to be plotted versus its coordinate number. <xcol>,
  569.  <ycol>, and <zcol> can be entered as constants or expressions.
  570.  
  571.  If errorbars (see also `plot errorbars`) are used for `plot`s,
  572.  ydelta (for example, a +/- error) should be provided as the third
  573.  column, or ylow and yhigh as third and fourth columns.  These columns
  574.  must follow the x and y columns.
  575.  
  576.  Scanf strings override any <xcol>:<ycol>(:<zcol>) choices, except for
  577.  ordering of input, e.g.,
  578.          plot "datafile" using 2:1 "%f%*f%f"
  579.  causes the first column to be y and the third column to be x.
  580.  
  581.  If the scanf string is omitted, the default is generated based on the
  582.  <xcol>:<ycol>(:<zcol>) choices. If the `using` option is omitted, "%f%f"
  583.  is used for `plot` ("%f%f%f%f" for `errorbar` `plot`s) and "%f%f%f" is
  584.  used for `splot`.
  585.  
  586.  Examples:
  587.  
  588.          plot "MyData" using "%*f%f%*20[^\n]%f" with lines
  589.  
  590.  Data are read from the file "MyData" using the format
  591.  "%*f%f%*20[^\n]%f". The meaning of this format is: "%*f" ignore the
  592.  first number, "%f" then read in the second and assign to x,
  593.  "%*20[^\n]" then ignore 20 non-newline characters, "%f" then read in
  594.  the y value.
  595.  
  596.          n=3;
  597.          plot "MyData", "MyData" using n 
  598.  
  599.  causes GNUPLOT to plot the second and third columns of MyData versus
  600.  the first column. The command 'n=4; replot' would then plot the second
  601.  and fourth columns of MyData versus the first column.
  602.  
  603.          splot "glass.dat" using 1
  604.  
  605.  causes GNUPLOT to plot the first coordinate of the points of glass.dat
  606.  as the z coordinate while ignoring the other two coordinates.
  607.  
  608.  Note: GNUPLOT first reads a line of the data file into a buffer and 
  609.  then does a 
  610.          sscanf(input_buffer, scanf_string, &x, &y{, &z});
  611.  where 'x', 'y', and 'z' are of type 'float'. Any scanf string that
  612.  specifies two (three for `splot`, three or four for `errorbars`) float
  613.  numbers may be used.
  614. ?plot errorbars
  615. ?errorbars
  616.  Error bars are supported for 2-d data file plots by reading one or
  617.  two additional columns specifying ydelta or ylow and yhigh
  618.  respectively. No support exists for x error bars or any error bars
  619.  for `splot`s.
  620.  
  621.  In the default situation, GNUPLOT expects to see three or four
  622.  numbers on each line of the data file, either (x, y, ydelta) or 
  623.  (x, y, ylow, yhigh). The x coordinate must be specified. The order
  624.  of the numbers must be exactly as given above. Data files in this
  625.  format can easily be plotted with error bars:
  626.  
  627.          plot "data.dat" with errorbars
  628.  
  629.  The error bar is a vertical line plotted from (x, ylow) to (x,
  630.  yhigh). If ydelta is specified instead of ylow and yhigh, 
  631.  ylow=y-ydelta and yhigh=y+ydelta are derived. If there
  632.  are only two numbers on the line, yhigh and ylow are both set to
  633.  y. To get lines plotted between the data points, `plot` the
  634.  data file twice, once with errorbars and once with lines.
  635.  
  636.  If y autoscaling is on, the y range will be adjusted to fit the
  637.  error bars.
  638.  
  639.  The `using` option may be used to specify how columns of the data file
  640.  are to be assigned to x, y, ydelta, ylow, and yhigh. The x column must
  641.  be provided and both the x and y columns must appear before the
  642.  errorbar columns. If three column numbers are given, they are x, y,
  643.  and ydelta. If four columns are given, they are x, y, ylow, and
  644.  yhigh.
  645.  
  646.  Examples:
  647.  
  648.          plot "data.dat" using 1:2:3:4 with errorbars
  649.          plot "data.dat" using 3:2:6 with errorbars
  650.          plot "data.dat" using 3:4:8:7 with errorbars
  651.  
  652.  The first example reads, x, y, ylow, and yhigh, from columns 1, 2, 3,
  653.  and 4. This is equivalent to the default.  The second example reads x
  654.  from the third column, y from second and ydelta from the sixth column.
  655.  The third example reads x from the third column, y from the fourth,
  656.  ylow from the eighth, and yhigh from seventh columns.
  657.  
  658.  See also `plot using` and `plot style`.
  659. ?plot parametric
  660. ?splot parametric
  661. ?parametric
  662.  When in parametric mode (`set parametric`) mathematical expressions must
  663.  be given in pairs for `plot` and in triplets for `splot`:
  664.          plot sin(t),t**2
  665.  or
  666.          splot cos(u)*cos(v),cos(u)*sin(v),sin(u)
  667.  
  668.  Data files are plotted as before, except any preceding parametric
  669.  function must be fully specified before a data file is given as a
  670.  plot. In other words, the x parametric function (sin(t) above) and
  671.  the y parametric function (t**2 above) must not be interrupted with
  672.  any modifiers or data functions; doing so will generate a syntax error
  673.  stating that the parametric function is not fully specified.
  674.  
  675.  Ranges take on a different meaning when in parametric mode. The first
  676.  range on the `plot` command is the `trange`, the next is the `xrange`,
  677.  and the last is the `yrange`. For `splot` the order is `urange`,
  678.  `vrange`, `xrange`, `yrange`, and finally `zrange`. The following
  679.  `plot` command shows setting the `trange` to [-pi:pi], the `xrange` to
  680.  [-1.3:1.3] and the `yrange` to [-1:1] for the duration of the plot:
  681.          plot [-pi:pi] [-1.3:1.3] [-1:1] sin(t),t**2
  682.  
  683.  Other modifiers, such as `with` and `title`, may be specified only
  684.  after the parametric function has been completed:
  685.          plot sin(t),t**2 title 'Parametric example' with linespoints
  686. ?splot ranges
  687. ?plot ranges
  688. ?ranges
  689.  The optional range specifies the region of the plot that will be
  690.  displayed.
  691.  
  692.  Ranges may be provided on the `plot` and `splot` command line and
  693.  affect only that plot, or in the `set xrange`, `set yrange`, etc.,
  694.  commands, to change the default ranges for future plots.
  695.  
  696.  Syntax:
  697.          [{<dummy-var> =} {<xmin> : <xmax>}] { [{<ymin> : <ymax>}] }
  698.  
  699.  where <dummy-var> is the independent variable (the defaults are x and
  700.  y, but this may be changed with `set dummy`) and the min and max
  701.  terms can be constant expressions.
  702.  
  703.  Both the min and max terms are optional. The ':' is also optional
  704.  if neither a min nor a max term is specified. This allows '[ ]' to
  705.  be used as a null range specification.
  706.  
  707.  Specifying a range in the `plot` command line turns autoscaling for
  708.  that axis off for that plot. Using one of the `set` range commands
  709.  turns autoscaling off for that axis for future plots, unless changed
  710.  later. (See `set autoscale`).
  711.  
  712.  Examples:
  713.  
  714.  This uses the current ranges:
  715.          plot cos(x)
  716.  
  717.  This sets the x range only:
  718.          plot [-10:30] sin(pi*x)/(pi*x)
  719.  
  720.  This is the same, but uses t as the dummy-variable:
  721.          plot [t = -10 :30]  sin(pi*t)/(pi*t)
  722.  
  723.  This sets both the x and y ranges:
  724.          plot [-pi:pi] [-3:3]  tan(x), 1/x
  725.  
  726.  This sets only the y range, and turns off autoscaling on both axes:
  727.          plot [ ] [-2:sin(5)*-8] sin(x)**besj0(x)
  728.  
  729.  This sets xmax and ymin only:
  730.          plot [:200] [-pi:]  exp(sin(x))
  731.  
  732.  This sets the x, y, and z ranges:
  733.          splot [0:3] [1:4] [-1:1] x*y
  734. ?plot style
  735. ?splot style
  736. ?style
  737. ?plot with
  738. ?with
  739.  Plots may be displayed in one of six styles: `lines`, `points`,
  740.  `linespoints`, `impulses`, `dots`, or `errorbars`. The `lines` style
  741.  connects adjacent points with lines. The `points` style displays a
  742.  small symbol at each point. The `linespoints` style does both
  743.  `lines` and `points`. The `impulses` style displays a vertical line
  744.  from the x axis (or from the grid base for `splot`) to each point. The
  745.  `dots` style plots a tiny dot at each point; this is useful for
  746.  scatter plots with many points.
  747.  
  748.  The `errorbars` style is only relevant to 2-d data file plotting. It
  749.  is treated like `points` for `splot`s and function `plot`s. For data
  750.  `plot`s, `errorbars` is like `points`, except that a vertical error 
  751.  bar is also drawn: for each point (x,y), a line is drawn from
  752.  (x,ylow) to (x,yhigh). A tic mark is placed at the ends of the error
  753.  bar. The ylow and yhigh values are read from the data file's columns,
  754.  as specified with the `using` option to plot. See `plot errorbars` for
  755.  more information.
  756.  
  757.  Default styles are chosen with the `set function style` and
  758.  `set data style` commands.
  759.  
  760.  By default, each function and data file will use a different 
  761.  line type and point type, up to the maximum number of available 
  762.  types. All terminal drivers support at least six different point
  763.  types, and re-use them, in order, if more than six are required.
  764.  The LaTeX driver supplies an additional six point types (all variants
  765.  of a circle), and thus will only repeat after twelve curves are
  766.  plotted with points.
  767.  
  768.  If desired, the style and (optionally) the line type and point type
  769.  used for a curve can be specified.
  770.  
  771.  Syntax:
  772.  
  773.          with <style> {<linetype> {<pointtype>}}
  774.  
  775.  where <style> is either `lines`, `points`, `linespoints`, `impulses`,
  776.  `dots`, or `errorbars`. The <linetype> and <pointtype> are positive
  777.  integer constants or expressions and specify the line type and point
  778.  type to be used for the plot. Line type 1 is the first line type used
  779.  by default, line type 2 is the second line type used by default, etc.
  780.  
  781.  Examples:
  782.  
  783.  This plots sin(x) with impulses:
  784.          plot sin(x) with impulses
  785.  
  786.  This plots x*y with points, x**2 + y**2 default:
  787.          splot x*y w points, x**2 + y**2
  788.  
  789.  This plots tan(x) with the default function style, "data.1" with lines:
  790.          plot [ ] [-2:5] tan(x), "data.1" with l
  791.  
  792.  This plots "leastsq.dat" with impulses:
  793.          plot 'leastsq.dat' w i
  794.  
  795.  This plots "exper.dat" with errorbars and lines connecting the points:
  796.          plot 'exper.dat' w lines, 'exper.dat' w errorbars
  797.  Here 'exper.dat' should have three or four data columns.
  798.  
  799.  This plots x**2 + y**2 and x**2 - y**2 with the same line type:
  800.          splot x**2 + y**2 with line 1, x**2 - y**2 with line 1
  801.  
  802.  This plots sin(x) and cos(x) with linespoints, using the
  803.  same line type but different point types:
  804.          plot sin(x) with linesp 1 3, cos(x) with linesp 1 4
  805.  
  806.  This plots file "data" with points style 3:
  807.          plot "data" with points 1 3 
  808.  Note that the line style must be specified when specifying the point
  809.  style, even when it is irrelevant. Here the line style is 1 and the
  810.  point style is 3, and the line style is irrelevant.
  811.  
  812.  See `set style` to change the default styles.
  813. ?plot title
  814. ?splot title
  815.  A title of each plot appears in the key. By default the title is
  816.  the function or file name as it appears on the plot command line.
  817.  The title can be changed by using the `title` option. This option 
  818.  should precede any `with` option.
  819.  
  820.  Syntax:
  821.          title "<title>"
  822.  
  823.  where <title> is the new title of the plot and must be enclosed in
  824.  quotes. The quotes will not be shown in the key.
  825.  
  826.  Examples:
  827.  
  828.  This plots y=x with the title 'x':
  829.          plot x
  830.  
  831.  This plots the "glass.dat" file with the title 'surface of revolution':
  832.          splot "glass.dat" title 'surface of revolution'
  833.  
  834.  This plots x squared with title "x^2" and "data.1" with title
  835.  'measured data':
  836.          plot x**2 title "x^2", "data.1" t 'measured data'
  837. ?print
  838.  The `print` command prints the value of <expression> to the screen.
  839.  
  840.  Syntax:
  841.          print <expression>
  842.  
  843.  See `expressions`.
  844. ?pwd
  845.  The `pwd` command prints the name of the working directory to the screen.
  846.  
  847.  Syntax:
  848.          pwd
  849. ?quit
  850.  The `exit` and `quit` commands and END-OF-FILE character will exit
  851.  GNUPLOT. All these commands will clear the output device (as the
  852.  `clear` command does) before exiting.
  853. ?replot
  854.  The `replot` command without arguments repeats the last `plot` or `splot`
  855.  command. This can be useful for viewing a plot with different `set`
  856.  options, or when generating the same plot for several devices.
  857.  
  858.  Arguments specified after a `replot` command will be added onto the last
  859.  `plot` (`splot`) command (with an implied ',' separator) before it is
  860.  repeated. `replot` accepts the same arguments as the `plot` (`splot`)
  861.  commands except that ranges cannot be specified. See `command-line
  862.  editing` for ways to edit the last `plot` (`splot`) command.
  863. ?save
  864.  The `save` command saves user-defined functions, variables, set
  865.  options or all three plus the last `plot` (`splot`) command to the
  866.  specified file.
  867.  
  868.  Syntax:
  869.          save  {<option>} "<filename>"
  870.  
  871.  where <option> is `functions`, `variables` or `set`. If no option is
  872.  used, GNUPLOT saves functions, variables, set options and the last `plot`
  873.  (`splot`) command.
  874.  
  875.  `save`d files are written in text format and may be read by the `load`
  876.  command.
  877.  
  878.  The filename must be enclosed in quotes.
  879.  
  880.  Examples:
  881.  
  882.          save "work.gnu"
  883.          save functions 'func.dat'
  884.          save var 'var.dat'
  885.          save set "options.dat"
  886. ?set
  887. ?show
  888.  The `set` command sets LOTS of options.
  889.  
  890.  The `show` command shows their settings. `show all` shows all the
  891.  settings.
  892. ?set angles
  893. ?show angles
  894. ?angles
  895.  By default, GNUPLOT assumes the independent variable in polar plots
  896.  is in units of radians. If `set angles degrees` is specified before
  897.  `set polar` then the default range is [0:360] and the independent
  898.  variable has units of degrees. This is particularly useful for
  899.  plots of data files. The angle setting also hold for the 3-d
  900.  mapping as set via the `set mapping` command.
  901.  
  902.  Syntax:
  903.          set angles { degrees | radians }
  904.          show angles
  905. ?set arrow
  906. ?set noarrow
  907. ?show arrow
  908. ?arrow
  909. ?noarrow
  910.  Arbitrary arrows can be placed on a plot using the `set arrow`
  911.  command.
  912.  
  913.  Syntax:
  914.  
  915.           set arrow {<tag>} {from <sx>,<sy>{,<sz>}} 
  916.                             {to <ex>,<ey>{,<ez>}} {{no}head}
  917.           set noarrow {<tag>}
  918.           show arrow
  919.  
  920.  
  921.  Unspecified coordinates default to 0. The x, y, and z values are in
  922.  the graph's coordinate system. The z coordinate is only used in
  923.  `splot` commands. <tag> is an integer that identifies the arrow. If no
  924.  tag is given, the lowest unused tag value is assigned automatically.
  925.  The tag can be used to delete or change a specific arrow. To change
  926.  any attribute of an existing arrow, use the `set arrow` command with
  927.  the appropriate tag, and specify the parts of the arrow to be
  928.  changed. Specifying nohead requests the arrow be drawn without a head
  929.  (yielding a line segment). By default, arrows have heads.
  930.  
  931.  Arrows outside the plotted boundaries are permitted but may cause
  932.  device errors.
  933.  
  934.  Examples:
  935.  
  936.  To set an arrow pointing from the origin to (1,2), use:
  937.           set arrow to 1,2
  938.  To set an arrow from (-10,4,2) to (-5,5,3), and tag the arrow number
  939.  3, use:
  940.           set arrow 3 from -10,4,2 to -5,5,3
  941.  To change the preceding arrow begin at 1,1,1, without an arrow head,
  942.  use:
  943.           set arrow 3 from 1,1,1 nohead
  944.  To delete arrow number 2 use:
  945.           set noarrow 2
  946.  To delete all arrows use:
  947.           set noarrow
  948.  To show all arrows (in tag order) use:
  949.           show arrow
  950. ?set autoscale
  951. ?set noautoscale
  952. ?show autoscale
  953. ?autoscale
  954. ?noautoscale
  955.  Auto scaling may be set individually on the x, y or z axis
  956.  or globally on all axes. The default is to autoscale all axes.
  957.  
  958.  When autoscaling, the plot range is automatically computed and the
  959.  dependent axis (y for a `plot` and z for `splot`) is scaled to
  960.  include the range of the function or data being plotted.
  961.  
  962.  If autoscaling of the dependent axis (y or z) is not set, the
  963.  current y or z range is used.
  964.  
  965.  See `set yrange` or `set zrange`.
  966.  
  967.  Autoscaling the independent variables (x for `plot` and x,y for
  968.  `splot`) is a request to set the domain to match any data file being
  969.  plotted. If there are no data files then autoscaling an independent
  970.  variable has no effect. In other words, in the absence of a data
  971.  file, functions alone do not affect the x range (or the y range if
  972.  plotting z = f(x,y)).
  973.  
  974.  See `set xrange`, or `set yrange`.
  975.  
  976.  The behavior of autoscaling remains consistent in parametric mode,
  977.  however, there are more dependent variables and hence more control
  978.  over x, y, and z plot scales. In parametric mode, the independent or
  979.  dummy variable is t for `plot`s and u,v for `splot`s.  Autoscale in
  980.  parametric mode, then, controls all ranges (t, u, v, x, y, and z) and
  981.  allows x, y, and z to be fully autoscaled.
  982.  
  983.  See `set parametric`.
  984.  
  985.  Syntax:
  986.          set autoscale <axes>
  987.          set noautoscale <axes>
  988.          show autoscale
  989.  
  990.  where <axes> is either `x`, `y`, `z` or `xy`. If <axes> is not given
  991.  then all axes are assumed.
  992.  
  993.  Examples:
  994.  
  995.  This sets autoscaling of the y axis. x axis autoscaling is not
  996.  affected.
  997.          set autoscale y
  998.  
  999.  This sets autoscaling of the x and y axes.
  1000.          set autoscale xy
  1001.  
  1002.  This sets autoscaling of the x, y and z axes.
  1003.          set autoscale
  1004.  
  1005.  This disables autoscaling of the x, y and z axes.
  1006.          set noautoscale
  1007.  
  1008.  This disables autoscaling of the z axis only.
  1009.          set noautoscale z
  1010. ?autoscale parametric
  1011. ?set autoscale t
  1012.  When in parametric mode (`set parametric`) the xrange is as
  1013.  fully scalable as the yrange. In other words, in parametric
  1014.  mode the x axis can be automatically scaled to fit the range
  1015.  of the parametric function that is being plotted. Of course,
  1016.  the y axis can also be automatically scaled just as in the
  1017.  non-parametric case. If autoscaling on the x axis is not set,
  1018.  the current x range is used.
  1019.  
  1020.  When there is a mix of data files and functions, the xrange of
  1021.  the functions is selected as that of the data files if autoscale
  1022.  is true for x. While this keeps the behavior compatible with
  1023.  non-parametric plotting, it may not be retained in the future.
  1024.  The problem is that, in parametric mode, the x and y ranges are
  1025.  not as distinguishable as in the non-parametric mode and this
  1026.  behavior may not be the most useful.
  1027.  
  1028.  For completeness a last command `set autoscale t` is accepted.
  1029.  However, the effect of this "scaling" is very minor. When
  1030.  GNUPLOT determines that the t range would be empty it makes a
  1031.  small adjustment if autoscaling is true. Otherwise, GNUPLOT
  1032.  gives an error. Such behavior may, in fact, not be very useful
  1033.  and the command `set autoscale t` is certainly questionable.
  1034.  
  1035.  `splot` extends the above idea similarly. If autoscaling is set then
  1036.  x, y, and z ranges are computed and each axis scaled to fit the
  1037.  resulting data.
  1038. ?set border
  1039. ?set noborder
  1040. ?show border
  1041. ?border
  1042. ?noborder
  1043.  The `set border` and `set noborder` commands controls the display of
  1044.  the plot borders for the `plot` and `splot` commands.
  1045.  
  1046.  Syntax:
  1047.          set border
  1048.          set noborder
  1049.          show border
  1050. ?set clip
  1051. ?set noclip
  1052. ?show clip
  1053. ?clip
  1054. ?noclip
  1055.  GNUPLOT can clip data points and lines that are near the boundaries
  1056.  of a plot. 
  1057.  
  1058.  Syntax:
  1059.          set clip <clip-type>
  1060.          set noclip <clip-type>
  1061.          show clip
  1062.  
  1063.  Three clip types are supported by GNUPLOT: `points`, `one`, and `two`.
  1064.  One, two, or all three clip types may be active for a single plot.
  1065.  
  1066.  The `points` clip type forces GNUPLOT to clip (actually, not plot at
  1067.  all) data points that fall within but too close to the boundaries
  1068.  (this is so the large symbols used for points will not extend outside
  1069.  the boundary lines). Without clipping points near the boundaries may
  1070.  look bad; try adjusting the x and y ranges.
  1071.  
  1072.  Setting the `one` clip type causes GNUPLOT to plot the line segments
  1073.  which have only one of the two endpoints with the plotting region.
  1074.  Only the in-range portion of the line is drawn.  The alternative is to
  1075.  not draw any portion of the line segment.
  1076.  
  1077.  Some lines may have both endpoints out of range, but pass through the
  1078.  plotting area. Setting the `two` clip-type allows the visible portion
  1079.  of these lines to be drawn.
  1080.  
  1081.  In no case is a line drawn outside the plotting area.
  1082.  
  1083.  The defaults are `noclip points`, `clip one`, and `noclip two`.
  1084.  
  1085.  To check the state of all forms of clipping, use
  1086.          show clip
  1087.  
  1088.  For backward compatibility with older versions, the following forms
  1089.  are also permitted.
  1090.         set clip
  1091.         set noclip
  1092.  `set clip` is synonymous with `set clip points`. `set noclip` turns
  1093.  off all three types of clipping.
  1094. ?set cntrparam
  1095. ?show cntrparam
  1096. ?cntrparam
  1097.  Sets the different parameters for the contouring plot (see also `contour`).
  1098.  
  1099.  Syntax:
  1100.          set cntrparam { { linear | cubicspline | bspline } |
  1101.                          points <n> |
  1102.                          levels <n> |
  1103.                          order <n> }
  1104.  
  1105.  This command controls the way contours are plotted. <n> should be an
  1106.  integral constant expression. The parameters are:
  1107.  
  1108.  `linear`, `cubicspline`, `bspline` - Controls type of approximation or
  1109.  interpolation. If `linear`, then the contours are drawn piecewise
  1110.  linear, as extracted from the surface directly. If `cubicspline`, then
  1111.  piecewise linear contours are interpolated to form a somewhat smoother
  1112.  contours, but which may undulate. The third option is the uniform
  1113.  `bspline`, which only approximates the piecewise linear data but is
  1114.  guaranteed to be smoother.
  1115.  
  1116.  `points` - Eventually all drawings are done with piecewise linear
  1117.  strokes.  This number controls the number of points used to
  1118.  approximate a curve.  Relevant for `cubicspline` and `bspline` modes
  1119.  only.
  1120.  
  1121.  `levels` - Number of contour levels. If the surface is bounded by zmin
  1122.  and zmax then contours will be generated from zmin+dz to zmax-dz
  1123.  in steps of size dz, where dz = (zmax - zmin) / (levels + 1).
  1124.  
  1125.  `order`  - Order of the bspline approximation to be used. The bigger this
  1126.  order is, the smoother the resulting contour.  (Of course, higher order
  1127.  bspline curves will move further away from the original peicewise linear
  1128.  data.)  This option is relevant for `bspline` mode only. Allowed values are 
  1129.  integers in the range from 2 (linear) to 10.
  1130. ?set contour
  1131. ?show contour
  1132. ?contour
  1133.  Enable contour drawing for surfaces. This option is available for `splot`
  1134.  only.
  1135.  
  1136.  Syntax:
  1137.          set contour { base | surface | both }
  1138.          set nocontour
  1139.  
  1140.  If no option is provided to `set contour`, the default is `base`.
  1141.  The three options specify where to draw the contours: `base` draws
  1142.  the contours on the grid base where the x/ytics are placed, `surface`
  1143.  draws the contours on the surfaces themselves, and `both` draws the
  1144.  contours on both the base and the surface.
  1145.  
  1146.  See also `set cntrparam` for the parameters that affect the drawing of 
  1147.  contours.
  1148. ?set data style
  1149. ?show data style
  1150. ?data style
  1151.  The `set data style` command changes the default plotting style
  1152.  for data plots.
  1153.  
  1154.  Syntax:
  1155.          set data style 
  1156.          show data style 
  1157.          set data style <style-choice>
  1158.  
  1159.  In the first case, `set data style` returns the possible style
  1160.  choices:  `lines`, `points`, `linespoints`, `dots`, `impulses`, 
  1161.  or `errorbars`.  `show data style` shows the current default
  1162.  plotting style for data.  `set data style dots` would actually 
  1163.  change the default plotting style.  See also `plot`.
  1164. ?set dummy
  1165. ?show dummy
  1166. ?dummy
  1167.  By default, GNUPLOT assumes that the independent variable for the
  1168.  `plot` command is x, and the independent variables for the `splot`
  1169.  command are x and y. They are called the dummy variables because it
  1170.  is just a notation to indicate the independent variables. The `set
  1171.  dummy` command changes these default dummy variable names. For
  1172.  example, it may be more convenient to call the dummy variable t
  1173.  when plotting time functions:
  1174.  
  1175.          set dummy t
  1176.          plot sin(t), cos(t)
  1177.  
  1178.  Syntax:
  1179.          set dummy <dummy-var>{,<dummy-var>}
  1180.          show dummy
  1181.  
  1182.  Examples:
  1183.          set dummy u,v
  1184.          set dummy ,s
  1185.  
  1186.  to set both dummy variables to u and v or set only the second
  1187.  variable to s.
  1188.  
  1189.  The `set parametric` command also changes the dummy variables (to t
  1190.  for `plot` and u,v for `splot`s).
  1191.  
  1192. ?set format
  1193. ?show format
  1194. ?format
  1195.  The format of the tic-mark labels can be set with the `set format`
  1196.  command. The default format for both axes is "%g", but other formats
  1197.  such as "%.2f" or "%3.0fm" are often desirable. Anything accepted by
  1198.  printf when given a double precision number, and then accepted by the
  1199.  terminal, will work. In particular, the formats f, e, and g will work,
  1200.  and the d, o, x, c, s, and u formats will not work.
  1201.  
  1202.  Syntax:
  1203.          set format {<axes>} {"<format-string>"}
  1204.          show format
  1205.  
  1206.  where <axes> is either `x`, `y`, `z`, `xy`, or nothing (which is the
  1207.  same as `xy`). The length of the string representing a ticmark (after
  1208.  formatting with printf) is restricted to 100 characters.  If the
  1209.  format string is omitted, the format will be returned to the default
  1210.  "%g". For LaTeX users, the format "$%g$" is often desirable.  If the
  1211.  empty string "" is used, no label will be plotted with each tic,
  1212.  though the tic mark will still be plotted. To eliminate all tic marks,
  1213.  use `set noxtics` or `set noytics`.
  1214.  
  1215.  See also `set xtics` and `set ytics` for more control over tic labels.
  1216. ?set function style
  1217. ?show function style
  1218. ?function style
  1219.  The `set function style` command changes the default plotting style
  1220.  for functions.
  1221.  
  1222.  Syntax:
  1223.          set function style 
  1224.          show function style 
  1225.          set function style <style-choice>
  1226.  
  1227.  In the first case, `set function style` returns the possible style
  1228.  choices:  `lines`, `points`, `linespoints`, `dots`, `impulses`, 
  1229.  or `errorbars`.  `show function style` shows the current default
  1230.  plotting style for functions.  `set function style linespoints`
  1231.  would actually change the default plotting style.  See also `plot`.
  1232. ?show functions
  1233.  The `show functions` command lists all user-defined functions and
  1234.  their definitions.
  1235.  
  1236.  Syntax:
  1237.          show functions
  1238. ?set grid
  1239. ?show grid
  1240. ?grid
  1241.  The optional `set grid` draws a grid at the tic marks with the axis
  1242.  linetype.
  1243.  
  1244.  Syntax:
  1245.          set grid
  1246.          set nogrid
  1247.          show grid
  1248. ?set hidden3d
  1249. ?show hidden3d
  1250.  The `set hidden3d` command enables hidden line removal for explicit
  1251.  surface plotting (see `splot`).
  1252.  Hidden line removal may be used for both explicit functions
  1253.  and for explicit data where gnuplot plot is in nonparametric mode (see
  1254.  `set parametric`).
  1255.  
  1256.  When this flag is set both the surface hidden portion and possibly
  1257.  its hidden contours (see `set contour`) as well as the hidden grid will be
  1258.  removed. Labels and arrows are always visible and are unaffected by this
  1259.  command.
  1260.  
  1261.  Each surface has its hidden part removed with respect to itself, if more
  1262.  than one surface is ploted. This mode is meaningfull when surfaces are
  1263.  plotted using line style drawing only.
  1264.  
  1265.  Syntax:
  1266.          set hidden3d
  1267.          set nohidden3d
  1268.          show hidden3d
  1269. ?set isosamples
  1270. ?show isosamples
  1271. ?isosamples
  1272.  An isoline is a curve parametrized by one of the surface parameters
  1273.  while the other surface parameter is fixed. Isolines are a simple
  1274.  means to display a surface. By fixing the u parameter of surface
  1275.  s(u,v), the iso-u lines of the form c(v) = s(u0,v) are produced, and
  1276.  by fixing the v parameter, the iso-v lines of the form c(u) = s(u,v0)
  1277.  are produced.
  1278.  
  1279.  The isoline density of surfaces may be changed by the `set isosamples`
  1280.  command. By default, sampling is set to 10 isolines per u or v axis.
  1281.  A higher sampling rate will produce more accurate plots, but will take
  1282.  longer. This parameter has no effect on data file plotting.
  1283.  
  1284.  Syntax:
  1285.          set isosamples <expression>
  1286.          show isosamples
  1287. ?set key
  1288. ?show key
  1289. ?key
  1290.  The `set key` enables a key describing curves on a plot.  By default
  1291.  the key is placed in the upper right corner of the plot.
  1292.  
  1293.  Syntax:
  1294.          set key
  1295.          set key <x>,<y>{,<z>}
  1296.          set nokey
  1297.          show key
  1298.  
  1299.  The coordinates <x>, <y> (and <z> for `splot`s) specify the location
  1300.  of the key on the plot. The key is drawn as a sequence of lines, with
  1301.  one plot described on each line. On the right hand side of each line
  1302.  is a representation that attempts to mimic the way the curve is
  1303.  plotted.  On the left side of each line is the text description,
  1304.  obtained from the `plot` command. See `plot title` to change this
  1305.  description. The lines are vertically arranged so an imaginary
  1306.  straight line divides the left- and right-hand sides of the key. It is
  1307.  the coordinates of this line that are specified with the `set key`
  1308.  command. In a `plot`, only the x and y coordinates are used to specify
  1309.  the line position.  For a `splot`, x, y and z are all being used as a
  1310.  3-d location mapped using the same mapping as the plot itself to form
  1311.  the required 2-d screen position of the imaginary line.
  1312.  
  1313.  Some or all of the key may be outside of the plot boundary, although
  1314.  this may interfere with other labels and may cause an error on some
  1315.  devices.
  1316.  
  1317.  Examples:
  1318.  
  1319.  This places the key at the default location:
  1320.          set key
  1321.  This disables the key:
  1322.          set nokey
  1323.  This places a key at coordinates 2,3.5,2
  1324.          set key 2,3.5,2
  1325. ?set label
  1326. ?set nolabel
  1327. ?show label
  1328. ?label
  1329. ?nolabel
  1330.  Arbitrary labels can be placed on the plot using the `set label`
  1331.  command.  If the z coordinate is given on a `plot` it is ignored; if
  1332.  it is missing on a `splot` it is assumed to be 0.
  1333.  
  1334.  Syntax:
  1335.  
  1336.           set label {<tag>} {"<label_text>"} {at <x>,<y>{,<z>}}
  1337.                             {<justification>}
  1338.           set nolabel {<tag>}
  1339.           show label
  1340.  
  1341.  
  1342.  The text defaults to "", and the position to 0,0,0.  The <x>, <y>, and
  1343.  <z> values are in the graph's coordinate system.  The tag is an
  1344.  integer that is used to identify the label. If no <tag> is given, the
  1345.  lowest unused tag value is assigned automatically. The tag can be used
  1346.  to delete or change a specific label. To change any attribute of an
  1347.  existing label, use the `set label` command with the appropriate tag,
  1348.  and specify the parts of the label to be changed.
  1349.  
  1350.  By default, the text is placed flush left against the point x,y,z.
  1351.  To adjust the way the label is positioned with respect to the point
  1352.  x,y,z, add the parameter <justification>, which may be `left`, `right`
  1353.  or `center`, indicating that the point is to be at the left, right or
  1354.  center of the text. Labels outside the plotted boundaries are
  1355.  permitted but may interfere with axes labels or other text.
  1356.  
  1357.  Examples:
  1358.  
  1359.  To set a label at (1,2) to "y=x" use:
  1360.           set label "y=x" at 1,2
  1361.  To set a label "y=x^2" with the right of the text at (2,3,4), and tag
  1362.  the label number 3, use:
  1363.           set label 3 "y=x^2" at 2,3,4 right
  1364.  To change the preceding label to center justification, use:
  1365.           set label 3 center
  1366.  To delete label number 2 use:
  1367.           set nolabel 2
  1368.  To delete all labels use:
  1369.           set nolabel
  1370.  To show all labels (in tag order) use:
  1371.           show label
  1372.  
  1373.  (The Latex, EEPIC, and Imagen drivers allow \\ in a string to specify
  1374.  a newline.)
  1375. ?set logscale
  1376. ?set nologscale
  1377. ?show logscale
  1378. ?logscale
  1379. ?nologscale
  1380.  Log scaling may be set on the x, y, and z axes.
  1381.  
  1382.  Syntax:
  1383.          set logscale <axes>
  1384.          set nologscale <axes>
  1385.          show logscale
  1386.  
  1387.  where <axes> may be any combinations of `x`, `y`, and `z`, in any
  1388.  order.  If <axes> is not given then all three axes are assumed.  The
  1389.  command `set logscale` turns on log scaling on the specified axes,
  1390.  while `set nologscale` turns off log scaling.
  1391.  
  1392.  Examples:
  1393.  
  1394.  To enable log scaling in both x and z axes:
  1395.         set logscale xz
  1396.  To disable z axis log scaling:
  1397.         set nologscale z
  1398. ?set mapping
  1399. ?show mapping
  1400. ?mapping
  1401.  
  1402.  Syntax:
  1403.          set mapping { cartesian | spherical | cylindrical }
  1404.  
  1405.  Data for `splot`s are usually in regular Euclidean space and are
  1406.  provided in Cartesian coordinates. Such 3-d data require three
  1407.  coordinates (x, y and z) or one coordinate (only z) in each line in
  1408.  the data file.  In order to be able to use spherical or cylindrical
  1409.  coordinate systems, use the `set mapping` command. In both cases two
  1410.  coordinates are expected in each line of the data. For a spherical
  1411.  coordinate system, these are theta and phi (in units as specified by
  1412.  `set angles`) and the mapping is:
  1413.  
  1414.          x = cos( theta ) * cos( phi )
  1415.          y = sin( theta ) * cos( phi )
  1416.          z = sin( phi )
  1417.  
  1418.  For a cylindrical coordinate system, the mapping uses two variables,
  1419.  theta (in units as specified by `set angles`) and z:
  1420.  
  1421.          x = cos( theta )
  1422.          y = sin( theta )
  1423.          z = z
  1424.  
  1425.  Again, note that mapping will affect data file `splot`s only.
  1426. ?set offsets
  1427. ?show offsets
  1428. ?offsets
  1429.  The amount of the graph that the plot takes up may be controlled to
  1430.  some extent with the `set offsets` command. This command takes four
  1431.  offset arguments: <left>, <right>, <top> and <bottom>. By default,
  1432.  each offset is 0. Each offset may be a constant or an expression. Left
  1433.  and right offsets are given in units of the x axis, while top and
  1434.  bottom offsets are given in units of the y axis. The plot of sin(x),
  1435.  displayed with offsets of 0, 0, 2, 2 will take up 1/3 of the
  1436.  displayed y axis. Offsets are particularly useful with polar
  1437.  coordinates as a means of compensating for aspect ratio distortion.
  1438.  Offsets are ignored in `splot`s.
  1439.  
  1440.  Syntax:
  1441.          set offsets <left>, <right>, <top>, <bottom>
  1442.          show offsets
  1443. ?set output
  1444. ?show output
  1445. ?output
  1446.  By default, plots are displayed to the standard output. The `set
  1447.  output` command redirects the display to the specified file or
  1448.  device.
  1449.  
  1450.  Syntax:
  1451.          set output {"<filename>"}
  1452.          show output
  1453.  
  1454.  The filename must be enclosed in quotes. If the filename is
  1455.  omitted, output will be sent to the standard output.
  1456.  
  1457.  On machines with popen functions (UNIX), output can be piped
  1458.  through a shell command if the first letter of the filename
  1459.  is '|'.  For instance,
  1460.  
  1461.  Syntax:
  1462.          set output "|lpr -Plaser filename"
  1463.          set output "|lp -dlaser filename"
  1464.  
  1465.  (On MSDOS machines, set output "prn" will direct the output
  1466.  to the default printer.)
  1467.  
  1468. ?set parametric
  1469. ?set noparametric
  1470. ?show parametric
  1471. ?parametric
  1472. ?noparametric
  1473.  The `set parametric` command changes the meaning of `plot` (`splot`)
  1474.  from normal functions to parametric functions. The command
  1475.  `set noparametric` changes the plotting style back to normal,
  1476.  single-valued expression plotting.
  1477.  
  1478.  In 2-d plotting, a parametric function is determined by a pair
  1479.  of parametric functions operating on a parameter. An example
  1480.  of a 2-d parametric function would be plot sin(t),cos(t) (which
  1481.  defines a circle).
  1482.  
  1483.  For 3-d plotting, the surface is described as x=f(u,v), y=g(u,v),
  1484.  z=h(u,v). Therefore a triplet of functions are required. An example of
  1485.  3-d parametric function would be cos(u)*cos(v),cos(u)*sin(v),sin(u)
  1486.  (which defines a sphere). It takes three parametric function
  1487.  specifications in terms of the parametric dummy arguments to describe
  1488.  a single graph.
  1489.  
  1490.  The total set of possible plots is a superset of the simple f(x)
  1491.  style plots, since the two (three) functions can describe the
  1492.  x and y (and z) values to be computed separately. In fact,
  1493.  plots of the type t,f(t) (u,v,f(u,v)) are equivalent to those
  1494.  produced with f(x) when the x values are computed using the
  1495.  identity function as the first function.
  1496.  
  1497.  Note that the order the parametric functions are specified is
  1498.  xfunction, yfunction (and zfunction) and that each operates over the
  1499.  common parametric domain.
  1500.  
  1501.  Also, the `set parametric` function implies a new range of values.
  1502.  Whereas the normal f(x) and f(x,y) style plotting assume an xrange
  1503.  and yrange (and zrange), the parametric mode additionally specifies a
  1504.  trange, urange, and vrange. These ranges may be set
  1505.  directly with `set trange`, `set urange` and `set vrange`, or by
  1506.  specifying the range on the `plot` or `splot` commands. Currently
  1507.  the default range for these parametric variables is [-5:5].
  1508.  Setting the ranges to something more meaningful is expected.
  1509. ?set polar
  1510. ?set nopolar
  1511. ?show polar
  1512. ?polar
  1513. ?nopolar
  1514.  The `set polar` command changes the meaning of the plot from
  1515.  rectangular coordinates to polar coordinates. In polar coordinates,
  1516.  the dummy variable (x) is an angle. The range of this angle is changed
  1517.  from whatever it was to [0:2*pi], or, if degree unit has been selected,
  1518.  to [0:360] (see `set angles`).
  1519.  
  1520.  The command `set nopolar` changes the meaning of the plot back to the
  1521.  default rectangular coordinate system. The range of x is changed from
  1522.  whatever it was to [-10:10].
  1523.  
  1524.  The `set polar` command is not supported for `splot`s.  See the
  1525.  `set mapping` command for similar functionality for `splot`s.
  1526.  
  1527.  While in polar coordinates the meaning of an expression in x is really
  1528.  r = f(x), where x is an angle of rotation. The xrange controls the
  1529.  domain (the angle) of the function, and the yrange controls the range
  1530.  (the radius). The plot is plotted in a rectangular box, and the x and
  1531.  y axes are both in units of the radius. Thus, the yrange controls both
  1532.  dimensions of the plot output. The tics and units are written along
  1533.  the axes rather than at the left and bottom. These unit are offset by
  1534.  <rmin> specified by the `rrange` (See `set rrange`). It is not
  1535.  possible to specify different output dimensions in the x or y
  1536.  directions. The yrange can be used to shift the plot diagonally to
  1537.  display only the first or third quadrants.
  1538.  
  1539.  Syntax:
  1540.          set polar
  1541.          set nopolar
  1542.          show polar
  1543.  Example:
  1544.          set polar
  1545.          plot x*sin(x)
  1546.          plot [-2*pi:2*pi] [-3:3] x*sin(x)
  1547.  The first plot uses the default polar angular domain of 0 to 2*pi.
  1548.  The radius (and the size of the plot) is scaled automatically. The
  1549.  second plot expands the domain, and restricts the range of the radius
  1550.  (and the size of the plot) to [-3:3].
  1551. ?set rrange
  1552. ?show rrange
  1553. ?rrange
  1554.  The `set rrange` command sets the radial range used to compute x and y
  1555.  values when in polar mode. If not in polar mode (see `set polar`) then
  1556.  this range is not used. Use of this command offsets the polar
  1557.  singularity to the <rmin> value and shifts the units on the axes tic
  1558.  marks. For instance, `set rrange [-40:40]` would set the origin to -40
  1559.  and would plot values of radial values between -40 to 40. Thus, if
  1560.  360 degrees of data were plotted, then the plot would extend 80 units
  1561.  in radially from the origin.  To view the entire plot,  a 
  1562.  `set yrange [-80:80]` command would create a square viewport with
  1563.  a circular plot tangent at the axes.  Because `xrange` is used
  1564.  specify the angular extent, only a square viewport can be specified
  1565.  by `yrange`.  For instance, `set yrange [0:80]` would display the
  1566.  first quadrant and `set yrange [-80:0]` would display the third
  1567.  quadrant.  Any square viewport of any size can be specified but it
  1568.  is constrained to be centered on a 45 degree line.
  1569.  
  1570.  This range may also be specified on the `plot` command line when in
  1571.  polar mode.
  1572.  
  1573.  Syntax:
  1574.          set rrange [{<rmin> : <rmax>}]
  1575.  
  1576.  where <rmin> and <rmax> terms are constants or expressions.
  1577.  
  1578.  Both the <rmin> and <rmax> terms are optional. Anything omitted will
  1579.  not be changed, so 
  1580.          set rrange [:10]
  1581.  changes rmax to 10 without affecting rmin.
  1582. ?set samples
  1583. ?show samples
  1584. ?samples
  1585.  The sampling rate of functions may be changed by the `set samples`
  1586.  command. By default, sampling is set to 100 points. A higher sampling
  1587.  rate will produce more accurate plots, but will take longer. This
  1588.  parameter no longer has any effect on data-file plotting.
  1589.  
  1590.  Syntax:
  1591.          set samples <expression>
  1592.          show samples
  1593. ?set size
  1594. ?show size
  1595. ?size
  1596.  The `set size` command scales the displayed size of the plot.  On some
  1597.  terminals, changing the size of the plot will result in text being
  1598.  misplaced. Increasing the size of the plot may produce strange
  1599.  results. Decreasing is safer.
  1600.  
  1601.  Syntax:
  1602.  
  1603.          set size {<xscale>,<yscale>}
  1604.          show size
  1605.  
  1606.  The <xscale> and <yscale> values are the scaling factors for the size.
  1607.  The defaults (1,1) are selected if the scaling factors are omitted.
  1608.  
  1609.  Examples: 
  1610.  
  1611.  To set the size to normal size use:
  1612.          set size
  1613.  To make the plot half size use:
  1614.          set size 0.5,0.5
  1615.  To make a landscape plot have a 1:1 aspect ratio in polar mode use:
  1616.          set size 0.721,1.0
  1617.  To show the size use:
  1618.          show size
  1619.  
  1620.  For the LaTeX and Fig terminals the default size (scale factor 1,1)
  1621.  is 5 inches wide by 3 inches high. The big Fig terminal (`bfig`) is 7
  1622.  inches wide by 5 inches high. The postscript default is landscape mode
  1623.  10 inches wide and 7 inches high. 
  1624.  Note that the size of the plot includes the space used by the labels; 
  1625.  the plotting area itself is smaller. 
  1626. ?set style
  1627. ?show style
  1628. ?style
  1629.  Plots may be displayed in one of six styles: `lines`, `points`,
  1630.  `linespoints`, `impulses`, `dots`, or `errorbars`. The `lines` style
  1631.  connects adjacent points with lines. The `points` style displays a
  1632.  small symbol at each point. The `linespoints` style does both
  1633.  `lines` and `points`. The `impulses` style displays a vertical line
  1634.  from the x axis to each point. The `dots` style plots a tiny dot at
  1635.  each data point; this is useful for scatter plots with many points.
  1636.  
  1637.  The `errorbars` style is relevant only for to data file `plot`s. It is
  1638.  treated like `points` for function `plot`s and `splot`s. For data file
  1639.  `plot`s, `errorbars` is like `points`, except that a vertical error
  1640.  bar is also drawn: for each point (x,y), a line is drawn from (x,ylow)
  1641.  to (x,yhigh). A tic mark is placed at the ends of the error bar. The
  1642.  ylow and yhigh values are read from the data file's third and fourth
  1643.  columns, or as specified with the `using` option to plot.  See `plot
  1644.  errorbars` for more information.
  1645.  
  1646.  Default styles are chosen with the `set function style` and `set
  1647.  data style` commands. See `plot style` for information about how
  1648.  to override the default plotting style for individual functions.
  1649.  
  1650.  Syntax:
  1651.          set function style <style>
  1652.          set data style <style>
  1653.          show function style
  1654.          show data style
  1655.  
  1656.  where <style> is `lines`, `points`, `linespoints`, `impulses`,
  1657.  `dots`, or `errorbars`.
  1658. ?set surface
  1659. ?set nosurface
  1660. ?show surface
  1661. ?surface
  1662.  `set surface` controls the display of surfaces. It is useful if
  1663.  contours are to be displayed by themselves. Whenever `set nosurface`
  1664.  is issued, no surface isolines/mesh will be drawn. See also `set
  1665.  contour`.
  1666.  
  1667.  Syntax:
  1668.          set surface
  1669.          set nosurface
  1670.          show surface
  1671. ?set terminal
  1672. ?show terminal
  1673. ?terminal
  1674.  GNUPLOT supports many different graphics devices. Use the `set
  1675.  terminal` command to select the type of device for which GNUPLOT
  1676.  will produce output.
  1677.  
  1678.  Syntax:
  1679.          set terminal {<terminal-type>}
  1680.          show terminal
  1681.  
  1682.  If <terminal-type> is omitted, GNUPLOT will list the available
  1683.  terminal types. <terminal-type> may be abbreviated.
  1684.  
  1685.  Use `set output` to redirect this output to a file or device.
  1686.  
  1687.  Several terminals have additional options. For example, see `dumb`,
  1688.  `iris4d`, `hpljii` or `postscript`.
  1689. ?set terminal dumb
  1690. ?dumb
  1691.  The dumb terminal driver has an optional size specification.
  1692.  
  1693.  Syntax:
  1694.          set terminal dumb {<xsize> <ysize>}
  1695.  
  1696.  where <xsize> and <ysize> set the size of the dumb terminals. Default
  1697.  is 79 by 24.
  1698.  
  1699.  Examples:
  1700.          set term dumb
  1701.          set term dumb 79 49 #(VGA screen - why would anyone want to do that!?)
  1702.  
  1703. ?set terminal hpljii
  1704. ?hpljii
  1705.  The HP LaserJet II and HP DeskJet drivers have a single option.
  1706.  
  1707.  Syntax:
  1708.          set terminal hpljii {<resolution>}
  1709.          set terminal hpdj   {<resolution>}
  1710.  
  1711.  where <resolution> is the resolution of the output in dots per inch.
  1712.  It must be `75`, `100`, `150` or `300`.
  1713.  
  1714.  Example:
  1715.          set terminal hpljii 150
  1716.  
  1717. ?set terminal iris4d
  1718. ?iris4d
  1719.  The iris4d driver can operate in two modes.
  1720.  
  1721.  Syntax:
  1722.          set terminal iris4d {24}
  1723.  
  1724.  If the hardware supports only 8 bits, use the default `set terminal
  1725.  iris4d`. If, however, the hardware supports 24 bits (8 per
  1726.  red/green/blue), use `set terminal iris4d 24`.
  1727.  
  1728.  When using 24-bit mode, the colors can be directly specified via the
  1729.  file .gnuplot_iris4d that is searched in the current directory and
  1730.  then in the home directory specified by the HOME environment variable.
  1731.  This file holds RGB values for the background, border, labels and nine
  1732.  plotting colors, in that order. For example, here is a file containing
  1733.  the default colors:
  1734.  
  1735.          85   85   85     /* Back Ground */
  1736.          0    0    0      /* Boundary */
  1737.          170  0    170    /* Labeling */
  1738.          85   255  255    /* Plot Color 1 */
  1739.          170  0    0      /* Plot Color 2 */
  1740.          0    170  0      /* Plot Color 3 */
  1741.          255  85   255    /* Plot Color 4 */
  1742.          255  255  85     /* Plot Color 5 */
  1743.          255  85   85     /* Plot Color 6 */
  1744.          85   255  85     /* Plot Color 7 */
  1745.          0    170  170    /* Plot Color 8 */
  1746.          170  170  0      /* Plot Color 9 */
  1747.  
  1748.  This file has exactly 12 lines of RGB triples. No empty lines are
  1749.  allowed and anything after the third number in line is ignored.
  1750.  
  1751. ?set terminal pbm
  1752. ?pbm
  1753.  Several options may be set in the PBMplus driver.
  1754.  
  1755.  Syntax:
  1756.          set terminal pbm {<fontsize>}
  1757.          set terminal pgm {<fontsize>}
  1758.          set terminal ppm {<fontsize>}
  1759.  
  1760.  where <fontsize> is `small`, `medium`, or `large`. 
  1761.  Default size is 640 pixels wide and 480 pixels high.
  1762.  The pbm output is a portable bitmap (one bit per pixel).
  1763.  The pgm output is a portable graymap (three bits per pixel).     
  1764.  The ppm output is a portable pixmap (color, four bits per pixel).
  1765.  The output of these drivers can be used with Jef Poskanzer's 
  1766.  excellent PBMPLUS package which provides programs to convert
  1767.  the above PBMPLUS formats to GIF, TIFF, MacPaint, Macintosh PICT,
  1768.  PCX, X11 bitmap and many others. 
  1769.  
  1770.  Examples:
  1771.  
  1772.          set term pbm small
  1773.          set size 2,2
  1774.          set term ppm medium
  1775.  
  1776. ?set terminal postscript
  1777. ?postscript
  1778.  Several options may be set in the PostScript driver.
  1779.  
  1780.  Syntax:
  1781.          set terminal postscript {<mode>} {<color>}
  1782.                                  {"<fontname>"} {<fontsize>}
  1783.  
  1784.  where <mode> is `landscape`, `portrait`, `eps` or `default`. 
  1785.  Selecting default sets all options to their defaults.
  1786.  <color> is either `color` or `monochrome`.
  1787.  "<fontname>" is the name of a valid PostScript font.
  1788.  <fontsize> is the size of the font in PostScript points, before 
  1789.  scaling by the `set size` command.
  1790.  Defaults are `landscape`, `monochrome`, "Courier", and 14pt.
  1791.  Default size of PostScript plot is landscape mode 10 inches wide 
  1792.  and 7 inches high.
  1793.  
  1794.  To get EPS output, use the `eps` mode and make only one plot per file.
  1795.  In `eps` mode the whole plot is halved in size; the fonts are half the 
  1796.  given size, and the plot is 5 inches wide and 3.5 inches high.
  1797.  
  1798.  Examples:
  1799.  
  1800.          set term postscript default       # old postscript
  1801.          set term postscript landscape 22  # old psbig
  1802.          set term postscript eps 14   # old epsf1
  1803.          set term postscript eps 22   # old epsf2
  1804.          set size 0.7,1.4
  1805.          set term post portrait color "Times-Roman" 14 
  1806.  
  1807. ?set terminal aifm
  1808. ?aifm
  1809.  Several options may be set in the Adobe Illustrator 3.0 driver.
  1810.  
  1811.  Syntax:
  1812.          set terminal aifm {<color>}
  1813.                                  {"<fontname>"} {<fontsize>}
  1814.  
  1815.  Selecting default sets all options to their defaults.
  1816.  <color> is either `color` or `monochrome`.
  1817.  "<fontname>" is the name of a valid PostScript font.
  1818.  <fontsize> is the size of the font in PostScript points, before 
  1819.  scaling by the `set size` command.
  1820.  Defaults are `monochrome`, "Courier", and 14pt.
  1821.  
  1822.  Also, since AI does not really support multiple pages, multiple 
  1823.  graphs will be output directly on one another.  However, each graph 
  1824.  will be grouped individually, making it easy to separate them inside 
  1825.  AI (just pick them up and move them).
  1826.  
  1827.  Examples:
  1828.  
  1829.          set term aifm 
  1830.          set term aifm 22  
  1831.          set size 0.7,1.4
  1832.          set term aifm color "Times-Roman" 14 
  1833.  
  1834. ?set terminal table
  1835. ?table
  1836.  Instead of producing a picture, term type 'table' prints out
  1837.  the evaluation results in a multicolumn ASCII table of X Y Z values.
  1838.  For those times when you really want to see the numbers, now you
  1839.  can see them on the screen or save to a file.
  1840.  
  1841. ?set tics
  1842. ?show tics
  1843. ?tics
  1844.  By default, tics are drawn inwards from the border on all four sides.
  1845.  The `set tics` command can be used to change the tics to be 
  1846.  drawn outwards on the left and bottom borders only.
  1847.  This is useful when doing impulse plots.
  1848.  
  1849.  Syntax:
  1850.          set tics {<direction>}
  1851.          show tics
  1852.  
  1853.  where <direction> may be `in` or `out`. `set tics` defaults to `in`.
  1854.  
  1855.  See also the `set xtics`, `set ytics`, and `set ztics` command for more
  1856.  control of tic marks.
  1857. ?set ticslevel
  1858. ?show ticslevel
  1859. ?ticslevel
  1860.  Using splot, in 3-d plots, one can adjust the relative height of the
  1861.  vertical (Z) axis using `set ticslevel`. The numeric argument provided
  1862.  specifies the location of the bottom of the scale. a zero will put it
  1863.  on the bottom grid and any positive number somewhere along the z axis.
  1864.  
  1865.  Syntax:
  1866.          set ticslevel {<level>}
  1867.          show tics
  1868.  
  1869.  where <level> is a non negative numeric argument. For example,
  1870.  
  1871.          set ticslevel 0.5
  1872.  
  1873.  sets the tics level to the default value.
  1874.  
  1875.  See also the `set view`.
  1876. ?set time
  1877. ?show time
  1878. ?time
  1879.  The optional `set time` places the time and date of the plot either
  1880.  at the top or bottom of the left margin. The exact location is
  1881.  device dependent.
  1882.  
  1883.  Syntax:
  1884.          set time {<xoff>}{,<yoff>}
  1885.          set notime
  1886.          show time
  1887.  
  1888.  Specifying constants <xoff> or <yoff> as optional offsets for the time
  1889.  will move the time <xoff> or <yoff> character screen coordinates. For
  1890.  example,
  1891.  
  1892.          set time ,-3
  1893.  
  1894.  will change only the y offset of the time, moving the title down by
  1895.  roughly the height of three characters.
  1896.  
  1897. ?set title
  1898. ?show title
  1899. ?title
  1900.  The `set title` command produces a plot title that is centered at the
  1901.  top of the plot. Using the optional x,y screen offsets, the title
  1902.  can be placed anywhere on the plot. `set title` with no parameters
  1903.  clears the title.
  1904.  
  1905.  Syntax:
  1906.           set title {"<title-text>"} {<xoff>}{,<yoff>}
  1907.           show title
  1908.  
  1909.  Specifying constants <xoff> or <yoff> as optional offsets for the
  1910.  title will move the title <xoff> or <yoff> character screen
  1911.  coordinates. Note these are screen coordinates and not plot
  1912.  coordinates. For example,
  1913.  
  1914.           set title ,-1
  1915.  
  1916.  will change only the y offset of the title, moving the title down by
  1917.  roughly the height of one character.
  1918.  
  1919.  (The Latex, EEPIC, and Imagen drivers allow \\ in a string to specify
  1920.  a newline.)
  1921. ?set trange
  1922. ?show trange
  1923. ?trange
  1924.  The `set trange` command sets the parametric range used to compute
  1925.  x and y values when in parametric mode. If not in parametric mode
  1926.  (see `set parametric`) then this range is not used. This command
  1927.  does not affect x/y autoscaling or x/y ranges.
  1928.  
  1929.  This range may also be specified on the `plot` command line when
  1930.  in parametric mode.
  1931.  
  1932.  Syntax:
  1933.          set trange [{<tmin> : <tmax>}]
  1934.  
  1935.  where <tmin> and <tmax> terms are constants or expressions.
  1936.  
  1937.  Both the <tmin> and <tmax> terms are optional. Anything omitted will
  1938.  not be changed, so 
  1939.          set trange [:10]
  1940.  changes tmax to 10 without affecting tmin.  See also `set urange` and
  1941.  `set parametric`.
  1942. ?set urange
  1943. ?show urange
  1944. ?urange
  1945.  The `set urange` and `set vrange` commands sets the parametric ranges used 
  1946.  to compute x, y, and z values when in `splot` parametric mode. If not in 
  1947.  parametric mode (see `set parametric`) then these ranges are not used. This 
  1948.  command does not affect x/y autoscaling or x/y ranges.
  1949.  
  1950.  This range may also be specified on the `splot` command line when
  1951.  in parametric mode.  See `plot` for more information
  1952.  
  1953.  Syntax:
  1954.          set urange [{<umin> : <umax>}]
  1955.  
  1956.  where <umin> and <umax> terms are constants or expressions.
  1957.  
  1958.  Both the <umin> and <umax> terms are optional. Anything omitted will
  1959.  not be changed, so 
  1960.          set urange [:10]
  1961.  changes umax to 10 without affecting umin.  See also `set trange`.
  1962. ?show variables
  1963.  The `show variables` command lists all user-defined variables and
  1964.  their values.
  1965.  
  1966.  Syntax:
  1967.          show variables
  1968. ?set view
  1969. ?show view
  1970. ?view
  1971.  The `set view` command sets the view point for `splot`s. This
  1972.  command controls the way the 3-d coordinates of the plot are mapped
  1973.  into the 2-d screen space. This command provides controls to both
  1974.  rotation and scaling of the plotted data but supports orthographic
  1975.  projections only.
  1976.  
  1977.  Syntax:
  1978.          set view <rot_x> {,{<rot_z>}{,{<scale>}{,<scale_z>}}}
  1979.          show view
  1980.  
  1981.  where <rot_x> and <rot_z> control the rotation angles (in degrees)
  1982.  along a virtual 3-d coordinate system aligned with the screen such
  1983.  that the screen horizontal axis is x, screen vertical axis is y, and
  1984.  the axis perpendicular to the screen is z. <rot_x> is bounded to the
  1985.  [0:180] range with a default of 60 degrees, while <rot_z> is bounded
  1986.  to the [0:360] range with a default of 30 degrees. <scale> controls
  1987.  the scaling of the entire `splot`, while <scale_z> scales the z axis
  1988.  only. Both scales default to 1.0.
  1989.  
  1990.  Examples:
  1991.          set view 60, 30, 1, 1
  1992.          set view ,,0.5
  1993.  
  1994.  The first sets all the four default values. The second changes 
  1995.  only scale, to 0.5.
  1996.  
  1997.  See also `set ticslevel`.
  1998. ?set vrange
  1999. ?show vrange
  2000. ?vrange
  2001.  The `set vrange` command is similar to the `set urange` command.
  2002.  Please see `set urange`.
  2003. ?set xlabel
  2004. ?show xlabel
  2005. ?xlabel
  2006.  The `set xlabel` command sets the x-axis label that is centered along
  2007.  the x axis. Using the optional x,y screen offsets, the label can be
  2008.  placed anywhere on the plot. `set xlabel` with no parameters clears
  2009.  the label.
  2010.  
  2011.  Syntax: 
  2012.           set xlabel {"<label>"} {<xoff>}{,<yoff>}
  2013.           show xlabel
  2014.  
  2015.  Specifying constants <xoff> or <yoff> as optional offsets for the
  2016.  label will move the label <xoff> or <yoff> character screen
  2017.  coordinates. For example,
  2018.  
  2019.           set xlabel -1
  2020.  
  2021.  will change only the x offset of the xlabel, moving the label roughly
  2022.  one character width to the left.
  2023.  
  2024.  (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  2025.  a newline.)
  2026. ?set xrange
  2027. ?show xrange
  2028. ?xrange
  2029.  The `set xrange` command sets the horizontal range that will be
  2030.  displayed. This command turns x axis autoscaling off.
  2031.  
  2032.  This range may also be specified on the `plot` command line.
  2033.  
  2034.  Syntax:
  2035.          set xrange [{<xmin> : <xmax>}]
  2036.  
  2037.  where <xmin> and <xmax> terms are constants or expressions.
  2038.  
  2039.  Both the <xmin> and <xmax> terms are optional. Anything omitted will
  2040.  not be changed, so 
  2041.          set xrange [:10]
  2042.  changes xmax to 10 without affecting xmin.
  2043. ?set xtics
  2044. ?set noxtics
  2045. ?show xtics
  2046. ?xtics
  2047. ?noxtics
  2048.  Fine control of the x axis tic marks is possible with the
  2049.  `set xtics` command. The x-axis tic marks may be turned off with the
  2050.  `set noxtics` command. They may be turned on (the default state) with
  2051.  `set xtics`.
  2052.  
  2053.  Syntax:
  2054.           set xtics { {<start>, <incr>{, <end>}} |
  2055.                       {({"<label>"} <pos> {, {"<label>"} <pos>}...)} }
  2056.           set noxtics
  2057.           show xtics
  2058.  
  2059.  The <start>, <incr>, <end> form specifies that a series of tics will
  2060.  be plotted on the x axis between the x values <start> and <end>
  2061.  with an increment of <incr>. If <end> is not given it is assumed to be
  2062.  infinity. The increment may be negative. For example,
  2063.            set xtics 0,.5,10
  2064.  makes tics at 0, 0.5, 1, 1.5, ..., 9.5, 10.
  2065.  
  2066.  The ("<label>" <pos>, ...) form allows arbitrary tic positions or
  2067.  non-numeric tic labels. A set of tics are a set of positions, each
  2068.  with its own optional label. Note that the label is a string enclosed
  2069.  by quotes, and may be a constant string, such as "hello", or contain
  2070.  formatting information for the tic number (which is the same as the
  2071.  position), such as "%3f clients". See `set format` for more
  2072.  information about this case. The label may even be empty.
  2073.  Examples:
  2074.           set xtics ("low" 0, "medium" 50, "high" 100)
  2075.           set xtics (1,2,4,8,16,32,64,128,256,512,1024)
  2076.           set xtics ("bottom" 0, "" 10, "top" 20)
  2077.  
  2078.  Tics will only be plotted when in range.
  2079.  
  2080.  The `set ytics` and `set noytics` commands work identically.
  2081.  See also the `set format` command.
  2082. ?set xzeroaxis
  2083. ?set noxzeroaxis
  2084. ?show xzeroaxis
  2085. ?xzeroaxis
  2086. ?noxzeroaxis
  2087.  `set xzeroaxis` draws the x-axis. By default, this option is on.
  2088.  `set noxzeroaxis` causes GNUPLOT to omit the x-axis.
  2089.  
  2090.  Syntax:
  2091.          set xzeroaxis
  2092.          set noxzeroaxis
  2093.          show xzeroaxis
  2094. ?set ylabel
  2095. ?show ylabel
  2096. ?ylabel
  2097.  The `set ylabel` command sets the y-axis label.  The position of this
  2098.  label depends on the terminal, and can be one of the following three
  2099.  positions (the position can be adjusted with optional parameters).
  2100.  
  2101.  1. Horizontal text flushed left at the top left of the plot.
  2102.  Terminals that cannot rotate text will probably use this method.
  2103.  
  2104.  2. Vertical text centered vertically at the left of the plot.
  2105.  Terminals that can rotate text will probably use this method.
  2106.  
  2107.  3. Horizontal text centered vertically at the left of the plot.
  2108.  The LaTeX and EEPIC drivers use this method. The user must insert 
  2109.  line breaks using \\ to prevent the ylabel from overwriting
  2110.  the plot. To produce a vertical row of characters, add \\
  2111.  between every printing character (but this is ugly).
  2112.  
  2113.  Syntax:  
  2114.           set ylabel {"<label>"} {<xoff>}{,<yoff>}
  2115.           show ylabel
  2116.  
  2117.  With no parameters, the label is cleared. Specifying constants <xoff>
  2118.  or <yoff> as optional offsets for the label will move the label <xoff>
  2119.  or <yoff> character screen coordinates. For example,
  2120.  
  2121.           set ylabel -1
  2122.  
  2123.  will change only the x offset of the ylabel, moving the label roughly
  2124.  one character width left of its default position. This is especially
  2125.  useful with the LaTeX driver.
  2126.  
  2127.  (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  2128.  a newline.)
  2129. ?set yrange
  2130. ?show yrange
  2131. ?yrange
  2132.  The `set yrange` command sets the vertical range that will be
  2133.  displayed. This command turns y axis autoscaling off.
  2134.  
  2135.  This range may also be specified on the `plot` command line.
  2136.  
  2137.  Syntax:
  2138.          set yrange [{<ymin> : <ymax>}]
  2139.  
  2140.  where <ymin> and <ymax> terms are constants or expressions.
  2141.  
  2142.  Both the <ymin> and <ymax> terms are optional. Anything omitted will
  2143.  not be changed, so 
  2144.          set yrange [:10]
  2145.  changes ymax to 10 without affecting ymin.
  2146. ?set ytics
  2147. ?set noytics
  2148. ?show ytics
  2149. ?ytics
  2150. ?noytics
  2151.  The `set ytics` and `set noytics` commands are similar to the `set xtics`
  2152.  and `set noxtics` commands. Please see `set xtics`.
  2153. ?set yzeroaxis
  2154. ?set noyzeroaxis
  2155. ?show yzeroaxis
  2156. ?yzeroaxis
  2157. ?noyzeroaxis
  2158.  `set yzeroaxis` draws the y-axis. By default, this option is on.
  2159.  `set noyzeroaxis` causes GNUPLOT to omit the y-axis.
  2160.  
  2161.  Syntax:
  2162.          set yzeroaxis
  2163.          set noyzeroaxis
  2164.          show yzeroaxis
  2165. ?set zero
  2166. ?show zero
  2167. ?zero
  2168.  The `zero` value is the default threshold for values approaching 0.0.
  2169.  GNUPLOT will not plot a point if its imaginary part is greater in
  2170.  magnitude than the `zero` threshold. Axis ranges cannot be less than
  2171.  `zero`. The default `zero` value is 1e-8. This can be changed with
  2172.  the `set zero` command.
  2173.  
  2174.  Syntax:
  2175.          set zero <expression>
  2176.          show zero
  2177. ?set zeroaxis
  2178. ?set nozeroaxis
  2179. ?show zeroaxis
  2180. ?zeroaxis
  2181. ?nozeroaxis
  2182.  `set zeroaxis` draws the x-axis and y-axis. By default, this option is
  2183.  on.  `set nozeroaxis` causes GNUPLOT to omit the axes, and is
  2184.  equivalent to `set noxzeroaxis; set noyzeroaxis.`
  2185.  
  2186.  Syntax:
  2187.          set zeroaxis
  2188.          set nozeroaxis
  2189.          show zeroaxis
  2190.  See `set xzeroaxis` and `set yzeroaxis`.
  2191. ?set zlabel
  2192. ?show zlabel
  2193. ?zlabel
  2194.  The `set zlabel` command sets the z-axis label that is centered along
  2195.  the z axis. Using the optional x,y screen offsets, the label can be
  2196.  placed anywhere on the plot. `set zlabel` with no parameters clears
  2197.  the label.
  2198.  
  2199.  Syntax: 
  2200.           set zlabel {"<label>"} {<xoff>}{,<yoff>}
  2201.           show zlabel
  2202.  
  2203.  Specifying constants <xoff> or <yoff> as optional offsets for the
  2204.  label will move the label <xoff> or <yoff> character screen
  2205.  coordinates. For example,
  2206.  
  2207.           set zlabel ,1
  2208.  
  2209.  will change only the y offset of the zlabel, moving the label roughly
  2210.  one character height up.
  2211.  
  2212.  The zlabel will be drawn whenever surfaces or contours are plotted,
  2213.  in the space above the grid level.
  2214.  
  2215.  (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  2216.  a newline.)
  2217. ?set zrange
  2218. ?show zrange
  2219. ?zrange
  2220.  The `set zrange` command sets the vertical range that will be
  2221.  displayed. This command turns z axis autoscaling off.  The zrange is
  2222.  used only by `splot` and is ignored by `plot`.
  2223.  
  2224.  This range may also be specified on the `splot` command line.
  2225.  
  2226.  Syntax:
  2227.          set zrange [{<zmin> : <zmax>}]
  2228.  
  2229.  where <zmin> and <zmax> terms are constants or expressions.
  2230.  
  2231.  Both the <zmin> and <zmax> terms are optional. Anything omitted will
  2232.  not be changed, so
  2233.          set zrange [2:]
  2234.  changes zmin to 2 without affecting zmax.
  2235. ?set ztics
  2236. ?set noztics
  2237. ?show ztics
  2238. ?ztics
  2239. ?noztics
  2240.  The `set ztics` and `set noztics` commands are similar to the `set
  2241.  xtics` and `set noxtics` commands. Please see `set xtics`.
  2242. ?shell
  2243.  The `shell` command spawns an interactive shell. To return to
  2244.  GNUPLOT, type `logout` if using VMS, `exit` or the END-OF-FILE
  2245.  character if using Unix, `endcli` if using AmigaDOS, or `exit` if
  2246.  using MS-DOS.
  2247.  
  2248.  A single shell command may be spawned by preceding it with the !
  2249.  character ($ if using VMS) at the beginning of a command line.
  2250.  Control will return immediately to GNUPLOT after this command is
  2251.  executed. For example, in VMS, AmigaDOS, or MS-DOS,
  2252.  
  2253.       ! dir
  2254.  
  2255.  prints a directory listing and then returns to GNUPLOT.
  2256.  Three-dimensional surface and contour plotting is available in
  2257.  GNUPLOT with the `splot` command. See the `plot` command for features
  2258.  common to the `plot` command.
  2259.  
  2260.  See also `set contour`, `set cntrparam`, and `set surface`.
  2261. ?startup
  2262. ?start
  2263. ?.gnuplot
  2264.  When GNUPLOT is run, it looks for an initialization file to load.
  2265.  This file is called `.gnuplot` on Unix and AmigaDOS systems, and
  2266.  `GNUPLOT.INI` on other systems. If this file is not found in the
  2267.  current directory, the program will look for it in the home directory
  2268.  (under AmigaDOS and MS-DOS, the environment variable GNUPLOT should
  2269.  contain the name of this directory).
  2270.  
  2271.  If this file is found, GNUPLOT executes the commands in this file.
  2272.  This is most useful for setting the terminal type and defining any
  2273.  functions or variables that are used often.
  2274. ?substitution
  2275.  Command-line substitution is specified by a system command enclosed in
  2276.  backquotes. This command is spawned and the output it produces
  2277.  replaces the name of the command (and backquotes) on the command line.
  2278.  
  2279.  Newlines in the output produced by the spawned command are replaced
  2280.  with blanks.
  2281.  
  2282.  Command-line substitution can be used anywhere on the GNUPLOT command
  2283.  line.
  2284.  
  2285.  Example:
  2286.  
  2287.  This will run the program `leastsq` and replace `leastsq` (including
  2288.  backquotes) on the command line with its output:
  2289.  
  2290.           f(x) = `leastsq`
  2291.  
  2292.  or, in VMS
  2293.  
  2294.           f(x) = `run leastsq`
  2295. ?userdefined
  2296. ?variables
  2297.  New user-defined variables and functions of one or two variables may be 
  2298.  declared and used anywhere.
  2299.  
  2300.  User-defined function syntax:
  2301.          <function-name> ( <dummy-var1> {,<dummy-var2>} ) =  <expression>
  2302.  
  2303.  where <expression> is defined in terms of <dummy-var1> and <dummy-var2>.
  2304.  
  2305.  User-defined variable syntax:
  2306.          <variable-name> = <constant-expression>
  2307.  
  2308.  Examples:
  2309.          w = 2
  2310.          q = floor(tan(pi/2 - 0.1))
  2311.          f(x) = sin(w*x)
  2312.          sinc(x) = sin(pi*x)/(pi*x)
  2313.          delta(t) = (t == 0)
  2314.          ramp(t) = (t > 0) ? t : 0
  2315.          min(a,b) = (a < b) ? a : b
  2316.          comb(n,k) = n!/(k!*(n-k)!)
  2317.  
  2318.  Note that the variable `pi` is already defined.
  2319.  
  2320.  See `show functions` and `show variables`.
  2321. ?bugs
  2322.  The bessel functions do not work for complex arguments.
  2323.  
  2324.  The gamma function does not work for complex arguments.
  2325.  
  2326.  There is a bug in the stdio library for old Sun operating systems
  2327.  (SunOS Sys4-3.2). The "%g" format for 'printf' sometimes incorrectly
  2328.  prints numbers (e.g., 200000.0 as "2"). Thus, tic mark labels may be
  2329.  incorrect on a Sun4 version of GNUPLOT. A work-around is to rescale
  2330.  the data or use the `set format` command to change the tic mark format
  2331.  to "%7.0f" or some other appropriate format. This appears to have been
  2332.  fixed in SunOS 4.0.
  2333.  
  2334.  Another bug: On a Sun3 under SunOS 4.0, and on Sun4's under Sys4-3.2
  2335.  and SunOS 4.0, the 'sscanf' routine incorrectly parses "00 12" with
  2336.  the format "%f %f" and reads 0 and 0 instead of 0 and 12. This
  2337.  affects data input. If the data file contains x coordinates that are
  2338.  zero but are specified like '00', '000', etc, then you will read the
  2339.  wrong y values. Check any data files or upgrade the SunOS.
  2340.  It appears to have been fixed in SunOS 4.1.1.
  2341.  
  2342.  Microsoft C 5.1 has a nasty bug associated with the %g format for
  2343.  printf. When any of the formats "%.2g", "%.1g", "%.0g", "%.g" are
  2344.  used, printf will incorrectly print numbers in the range 1e-4 to 1e-1.
  2345.  Numbers that should be printed in the %e format are incorrectly 
  2346.  printed in the %f format, with the wrong number of zeros after the 
  2347.  decimal point.
  2348.  
  2349.  To work around this problem, use the %e or %f formats explicitly.
  2350.  
  2351.  GNUPLOT, when compiled with Microsoft C, did not work correctly on two
  2352.  VGA displays that were tested. The CGA, EGA and VGA drivers should 
  2353.  probably be rewritten to use the Microsoft C graphics library.
  2354.  GNUPLOT compiled with Turbo C uses the Turbo C graphics drivers and 
  2355.  does work correctly with VGA displays.
  2356.  
  2357.  VAX/VMS 4.7 C compiler release 2.4 also has a poorly implemented %g 
  2358.  format for printf. The numbers are printed numerically correct, but 
  2359.  may not be in the requested format. The K&R second edition says that 
  2360.  for the %g format, %e is used if the exponent is less than -4 or greater 
  2361.  than or equal to the precision. The VAX uses %e format if the exponent 
  2362.  is less than -1. The VAX appears to take no notice of the precision 
  2363.  when deciding whether to use %e or %f for numbers less than 1.
  2364.  To work around this problem, use the %e or %f formats explicitly.
  2365.  From the VAX C 2.4 release notes:
  2366.  e,E,f,F,g,G  Result will always contain a decimal  point.
  2367.  For g and G, trailing zeros will not be removed from the result.
  2368.  
  2369.  VAX/VMS 5.2 C compiler release 3.0 has a slightly better implemented
  2370.  %g format than release 2.4, but not much. Trailing decimal points are 
  2371.  now removed, but trailing zeros are still not removed from %g numbers 
  2372.  in exponential format.
  2373.  
  2374.  ULTRIX X11R3 has a bug that causes the X11 driver to display "every
  2375.  other" plot.  The bug seems to be fixed in DEC's release of X11R4 so
  2376.  newer releases of ULTRIX don't seem to have the problem.  Solutions for 
  2377.  older sites include upgrading the X11 libraries (from DEC or direct from 
  2378.  MIT) or defining ULTRIX_KLUDGE when compiling the x11.trm file.  Note 
  2379.  that the kludge is not an ideal fix, however.
  2380.  
  2381.  The constant HUGE was incorrectly defined in the NeXT OS 2.0 operating
  2382.  system.  HUGE should be set to 1e38 in plot.h. This error has been
  2383.  corrected in the 2.1 version of NeXT OS.
  2384.  
  2385.  Some older models of HP plotters do not have a page eject command 'PG'.
  2386.  The current HPGL driver uses this command in HPGL_reset.  This may need
  2387.  to be removed for these plotters.  The current PCL5 driver uses HPGL/2
  2388.  for text as well as graphics.  This should be modified to use scalable
  2389.  PCL fonts.
  2390.  
  2391.  Please report any bugs to bug-gnuplot@ames.arc.nasa.gov.
  2392.